svn commit: r333545 - head/games/tuxpuck
Danilo Egea Gondolfo
danilo at FreeBSD.org
Tue Nov 12 03:40:17 UTC 2013
Author: danilo
Date: Tue Nov 12 03:40:17 2013
New Revision: 333545
URL: http://svnweb.freebsd.org/changeset/ports/333545
Log:
- Convert LIB_DEPENDS to new syntax
- Add LICENSE
- Convert USE_GMAKE to USES
- Add stage support
Modified:
head/games/tuxpuck/Makefile
Modified: head/games/tuxpuck/Makefile
==============================================================================
--- head/games/tuxpuck/Makefile Tue Nov 12 03:18:09 2013 (r333544)
+++ head/games/tuxpuck/Makefile Tue Nov 12 03:40:17 2013 (r333545)
@@ -10,26 +10,21 @@ MASTER_SITES= http://www.sourcefiles.org
MAINTAINER= ports at FreeBSD.org
COMMENT= Shufflepuck Cafe Clone
-LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
- png15:${PORTSDIR}/graphics/png \
- vorbis:${PORTSDIR}/audio/libvorbis \
- freetype:${PORTSDIR}/print/freetype2
+LICENSE= GPLv2
+
+LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libpng15.so:${PORTSDIR}/graphics/png \
+ libvorbis.so:${PORTSDIR}/audio/libvorbis \
+ libfreetype.so:${PORTSDIR}/print/freetype2
USE_SDL= sdl
-USE_GMAKE= yes
+USES= gmake
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -I${LOCALBASE}/include/libpng15
-MANCOMPRESSED= yes
-
-PLIST_FILES= bin/${PORTNAME}
-
-MAN6= ${PORTNAME}.6
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/${PORTNAME} man/man6/tuxpuck.6.gz
post-patch:
cd ${WRKSRC}; \
@@ -38,7 +33,7 @@ post-patch:
${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' ${WRKSRC}/utils/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/${MAN6}.gz ${MAN6PREFIX}/man/man6
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list