Makefile changed, OptionsNG added .if ${PORT_OPTIONS:MDATA} .if ${PORT_OPTIONS:MDOCS} Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Please change Severity: serious to Severity: non-critical This is a Mistake, sorry.
Responsible Changed From-To: freebsd-ports-bugs->amdmi3 I'll take it.
State Changed From-To: open->closed Committed. Thanks!
Author: amdmi3 Date: Fri Aug 17 17:46:32 2012 New Revision: 302690 URL: http://svn.freebsd.org/changeset/ports/302690 Log: - Switch to optionsNG PR: ports/170671 Submitted by: nemysis <nemysis@gmx.ch> Modified: head/games/twind/Makefile Modified: head/games/twind/Makefile ============================================================================== --- head/games/twind/Makefile Fri Aug 17 17:43:59 2012 (r302689) +++ head/games/twind/Makefile Fri Aug 17 17:46:32 2012 (r302690) @@ -15,15 +15,20 @@ COMMENT= Match and remove all of the blo LICENSE= GPLv2 +OPTIONS_DEFINE= DATA +OPTIONS_DEFAULT= DATA + USE_SDL= sdl image mixer MAKE_JOBS_SAFE= yes -PLIST_FILES= bin/twind \ +PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png PORTDATA= * PORTDOCS= AUTHORS CREDITS ChangeLog NEWS README TODO +.include <bsd.port.options.mk> + do-build: cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ -DDATA_PREFIX=\"${DATADIR}/\" -DAUDIO -DLINUX \ @@ -31,17 +36,22 @@ do-build: do-install: # Executable ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -# Pixmaps - ${INSTALL_DATA} ${WRKSRC}/graphics/twind.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + # Data +.if ${PORT_OPTIONS:MDATA} ${MKDIR} ${DATADIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${DATADIR}) +.endif + +# Pixmaps + ${INSTALL_DATA} ${WRKSRC}/graphics/${PORTNAME}.png ${PREFIX}/share/pixmaps/ + # Documentation -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} +. for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor +. endfor .endif .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"