- Add LICENSE_FILE

- Switch to USES=localbase
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-04-07 15:26:29 +00:00
parent d6777210d4
commit 5b516f1146
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437927

View file

@ -11,13 +11,14 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Reimplementation of Atomic Bomber Man
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
USES= gmake localbase
USE_SDL= image mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target="" --disable-werror
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm
CONFIGURE_ARGS= --disable-werror
LIBS+= -lm
PORTDOCS= AUTHORS ChangeLog README TODO
@ -33,13 +34,14 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/games/${PACKAGE}|share/${PACKAGE}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} \
-e 's|install-data-am: install-bomberclonedocDATA|install-data-am: |' \
-e 's|install-data-am: install-bomberclonedocDATA|install-data-am: |' \
${WRKSRC}/Makefile.in
post-install:
${LN} -sf ${DATADIR}/pixmaps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}