diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-19 10:49:21 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-19 10:49:21 +0800 |
commit | 2ed3c99848138b5d04c0b2edf5a8e54a31c02c7e (patch) | |
tree | 04ae575aa54295a6e28d142814dd6c9e05d72e92 /games | |
parent | c522084625b5b32345cc45133b6d042d5ab668c1 (diff) | |
download | freebsd-ports-gnome-2ed3c99848138b5d04c0b2edf5a8e54a31c02c7e.tar.gz freebsd-ports-gnome-2ed3c99848138b5d04c0b2edf5a8e54a31c02c7e.tar.zst freebsd-ports-gnome-2ed3c99848138b5d04c0b2edf5a8e54a31c02c7e.zip |
- Support staging
Diffstat (limited to 'games')
-rw-r--r-- | games/pipepanic/Makefile | 27 | ||||
-rw-r--r-- | games/pipepanic/pkg-plist | 8 |
2 files changed, 11 insertions, 24 deletions
diff --git a/games/pipepanic/Makefile b/games/pipepanic/Makefile index 40328930c576..94baf996fa4f 100644 --- a/games/pipepanic/Makefile +++ b/games/pipepanic/Makefile @@ -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@FreeBSD.org @@ -16,12 +15,12 @@ COMMENT= A pipe connecting game using libSDL 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> diff --git a/games/pipepanic/pkg-plist b/games/pipepanic/pkg-plist deleted file mode 100644 index 7d10d75fe93d..000000000000 --- a/games/pipepanic/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/pipepanic -%%DATADIR%%/ascii15.bmp -%%DATADIR%%/ascii30.bmp -%%DATADIR%%/digits24.bmp -%%DATADIR%%/digits48.bmp -%%DATADIR%%/tiles24.bmp -%%DATADIR%%/tiles48.bmp -@dirrm %%DATADIR%% |