diff options
Diffstat (limited to 'games/lgeneral/Makefile')
-rw-r--r-- | games/lgeneral/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile index 28adeedabfb..54987e5c44f 100644 --- a/games/lgeneral/Makefile +++ b/games/lgeneral/Makefile @@ -7,12 +7,18 @@ PORTNAME= lgeneral PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/${PORTNAME} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \ + SF/${PORTNAME}/${PORTNAME}-data:data +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ + pg-data${EXTRACT_SUFX}:data MAINTAINER= ports@FreeBSD.org COMMENT= A turn-based strategy engine inspired by Panzer General +CONFLICTS= lgeneral-data-[0-9]* + USE_SDL= sdl USE_GMAKE= yes GNU_CONFIGURE= yes @@ -45,6 +51,10 @@ post-patch: @${REINPLACE_CMD} -e 's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in post-install: + @${PREFIX}/bin/lgc-pg -s ${WRKDIR}/pg-data -d ${DATADIR} + @${FIND} ${DATADIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} + @${FIND} ${DATADIR} -type d | ${XARGS} ${CHMOD} a+rx + @${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR} |