- Fix build when DOCS option is deselected

While on it:
- Remove @dirrm entries from pkg-plist

PR:		192491
Submitted by:	arcade@b1t.name
Approved by:	maintainer timeout
MFH:		2014Q4
This commit is contained in:
Thomas Zander 2014-10-06 18:03:10 +00:00
parent 4533d49124
commit 14648f0b4d
2 changed files with 0 additions and 12 deletions

View file

@ -88,10 +88,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|jack_client = jack_client_new(jack_client_name);|jack_client = jack_client_open(jack_client_name, (jack_options_t)0, NULL);|' \
${WRKSRC}/src/unix/jack.c
.endif
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|add_subdirectory(docs)|#add_subdirectory(docs)|' \
${WRKSRC}/CMakeLists.txt
.endif
post-install:
@${INSTALL_MAN} ${WRKSRC}/docs/man/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/

View file

@ -1060,11 +1060,3 @@ man/man3/xor_mode.3.gz
man/man3/xwin_set_window_name.3.gz
%%DEMOS%%%%EXAMPLES%%share/pixmaps/shooter.png
%%DEMOS%%%%EXAMPLES%%share/pixmaps/skater.png
@dirrm lib/allegro/%%SHLIB_VER%%
@dirrm lib/allegro
@dirrm include/allegrogl/GLext
@dirrm include/allegrogl
@dirrm include/allegro/platform
@dirrm include/allegro/internal
@dirrm include/allegro/inline
@dirrm include/allegro