diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-09-27 09:35:29 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-09-27 09:35:29 +0000 |
commit | a9435cccace3de681a55b427ab0b24628918fbb8 (patch) | |
tree | c546fed02ead90c831fac9bc2a6fdfd9f56cb5a8 /emulators/libspectrum | |
parent | 9bc4c96e4f4de192ff487233e608abe140037476 (diff) | |
download | ports-a9435cccace3de681a55b427ab0b24628918fbb8.tar.gz ports-a9435cccace3de681a55b427ab0b24628918fbb8.zip |
- Add stage support
- Place the post-install: target outside of the corresponding .if block
Notes
Notes:
svn path=/head/; revision=328447
Diffstat (limited to 'emulators/libspectrum')
-rw-r--r-- | emulators/libspectrum/Makefile | 9 | ||||
-rw-r--r-- | emulators/libspectrum/pkg-plist | 1 |
2 files changed, 4 insertions, 6 deletions
diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile index b6bce96f9244..8af661a1fd51 100644 --- a/emulators/libspectrum/Makefile +++ b/emulators/libspectrum/Makefile @@ -18,12 +18,9 @@ USE_GNOME= glib20 USE_LDCONFIG= yes USES= gmake pkgconfig -MAN3= libspectrum.3 - OPTIONS_DEFINE= AUDIOFILE AUDIOFILE_DESC= Support loading from .wav files -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MAUDIOFILE} @@ -32,11 +29,11 @@ LIB_DEPENDS+= libaudiofile.so:${PORTSDIR}/audio/libaudiofile CONFIGURE_ARGS+=--without-libaudiofile .endif -.if ${PORT_OPTIONS:MDOCS} post-install: - @${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} \ - AUTHORS ChangeLog README THANKS doc/libspectrum.txt ${DOCSDIR} + AUTHORS ChangeLog README THANKS doc/libspectrum.txt ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/emulators/libspectrum/pkg-plist b/emulators/libspectrum/pkg-plist index b079a2b936d1..8c8b25b8d7b1 100644 --- a/emulators/libspectrum/pkg-plist +++ b/emulators/libspectrum/pkg-plist @@ -4,6 +4,7 @@ lib/libspectrum.a lib/libspectrum.la lib/libspectrum.so lib/libspectrum.so.9 +man/man3/libspectrum.3.gz %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/README |