svn commit: r328447 - head/emulators/libspectrum
Rene Ladan
rene at FreeBSD.org
Fri Sep 27 09:35:30 UTC 2013
Author: rene
Date: Fri Sep 27 09:35:29 2013
New Revision: 328447
URL: http://svnweb.freebsd.org/changeset/ports/328447
Log:
- Add stage support
- Place the post-install: target outside of the corresponding .if block
Modified:
head/emulators/libspectrum/Makefile
head/emulators/libspectrum/pkg-plist
Modified: head/emulators/libspectrum/Makefile
==============================================================================
--- head/emulators/libspectrum/Makefile Fri Sep 27 09:29:19 2013 (r328446)
+++ head/emulators/libspectrum/Makefile Fri Sep 27 09:35:29 2013 (r328447)
@@ -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
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>
Modified: head/emulators/libspectrum/pkg-plist
==============================================================================
--- head/emulators/libspectrum/pkg-plist Fri Sep 27 09:29:19 2013 (r328446)
+++ head/emulators/libspectrum/pkg-plist Fri Sep 27 09:35:29 2013 (r328447)
@@ -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
More information about the svn-ports-all
mailing list