aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-12 22:21:48 +0800
committerpawel <pawel@FreeBSD.org>2014-04-12 22:21:48 +0800
commit7f5e96b0cdce40a4bc713a170845f2906b468672 (patch)
treeccafcacddd30c14ed698c9be98533ced293bb2c5 /games
parent39258688b37c6e930de96a4ca0286f48b620a839 (diff)
downloadfreebsd-ports-gnome-7f5e96b0cdce40a4bc713a170845f2906b468672.tar.gz
freebsd-ports-gnome-7f5e96b0cdce40a4bc713a170845f2906b468672.tar.zst
freebsd-ports-gnome-7f5e96b0cdce40a4bc713a170845f2906b468672.zip
- Add staging support
- Remove leading article from COMMENT - Define DOCS option
Diffstat (limited to 'games')
-rw-r--r--games/orbital_eunuchs_sniper/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/games/orbital_eunuchs_sniper/Makefile b/games/orbital_eunuchs_sniper/Makefile
index 591d79d0c7e7..42e8641e3ca1 100644
--- a/games/orbital_eunuchs_sniper/Makefile
+++ b/games/orbital_eunuchs_sniper/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://offload2.icculus.org:9090/oes/ \
http://offload1.icculus.org:9090/oes/
MAINTAINER= ports@FreeBSD.org
-COMMENT= An overhead shooting game
+COMMENT= Overhead shooting game
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
@@ -20,13 +20,10 @@ PORTDOCS= AUTHORS ChangeLog README TODO readme.txt
CPPFLAGS+= `${SDL_CONFIG} --cflags`
LDFLAGS+= `${SDL_CONFIG} --libs`
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for FILE in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>