Date: Fri, 27 Sep 2013 09:35:30 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328447 - head/emulators/libspectrum Message-ID: <201309270935.r8R9ZUoE074341@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309270935.r8R9ZUoE074341>