svn commit: r330835 - head/games/pipepanic
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 19 02:49:22 UTC 2013
Author: amdmi3
Date: Sat Oct 19 02:49:21 2013
New Revision: 330835
URL: http://svnweb.freebsd.org/changeset/ports/330835
Log:
- Support staging
Deleted:
head/games/pipepanic/pkg-plist
Modified:
head/games/pipepanic/Makefile
Modified: head/games/pipepanic/Makefile
==============================================================================
--- head/games/pipepanic/Makefile Sat Oct 19 02:48:02 2013 (r330834)
+++ head/games/pipepanic/Makefile Sat Oct 19 02:49:21 2013 (r330835)
@@ -6,9 +6,8 @@ PORTVERSION= 0.1.3
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.users.waitrose.com/~thunor/pipepanic/dload/ \
- ${MASTER_SITE_LOCAL} \
+ LOCAL/ehaupt \
http://mirror.amdmi3.ru/distfiles/
-MASTER_SITE_SUBDIR= ehaupt
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= amdmi3 at FreeBSD.org
@@ -16,12 +15,12 @@ COMMENT= A pipe connecting game using li
USE_SDL= sdl
-PORTDOCS= README
-DATAFILES= ascii15.bmp ascii30.bmp digits24.bmp \
- digits48.bmp tiles24.bmp tiles48.bmp
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= *
+PORTDATA= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} \
@@ -29,14 +28,10 @@ post-patch:
${WRKSRC}/main.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
-.for f in ${DATAFILES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.bmp ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list