- port requires DATA

PR:	170748
Submitted by:	maintainer, nemysis@gmx.ch
This commit is contained in:
Jason Helfman 2012-08-25 06:12:26 +00:00
parent 53a986f2d4
commit 284a17a85d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303115

View file

@ -7,6 +7,7 @@
PORTNAME= twind
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
@ -15,9 +16,6 @@ COMMENT= Match and remove all of the blocks before time runs out
LICENSE= GPLv2
OPTIONS_DEFINE= DATA
OPTIONS_DEFAULT= DATA
USE_SDL= sdl image mixer
MAKE_JOBS_SAFE= yes
@ -38,10 +36,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
# Data
.if ${PORT_OPTIONS:MDATA}
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${DATADIR})
.endif
# Pixmaps
${INSTALL_DATA} ${WRKSRC}/graphics/${PORTNAME}.png ${PREFIX}/share/pixmaps/