svn commit: r330823 - head/games/brikx
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 19 02:00:10 UTC 2013
Author: amdmi3
Date: Sat Oct 19 02:00:10 2013
New Revision: 330823
URL: http://svnweb.freebsd.org/changeset/ports/330823
Log:
- Support staging
Deleted:
head/games/brikx/pkg-plist
Modified:
head/games/brikx/Makefile
Modified: head/games/brikx/Makefile
==============================================================================
--- head/games/brikx/Makefile Sat Oct 19 02:00:04 2013 (r330822)
+++ head/games/brikx/Makefile Sat Oct 19 02:00:10 2013 (r330823)
@@ -16,6 +16,11 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image ttf
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
DESKTOP_ENTRIES="Brikx" \
"Puzzle game" \
"${DATADIR}/tilesets/stone/49.png" \
@@ -23,15 +28,11 @@ DESKTOP_ENTRIES="Brikx" \
"Game;LogicGame;" \
false
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/DIR_DATA/ s|data/|${DATADIR}/|' \
${WRKSRC}/src/brikx.h
post-install:
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC}/src/data && ${COPYTREE_SHARE} "*" ${DATADIR}/
+ cd ${WRKSRC}/src/data && ${COPYTREE_SHARE} "*" ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list