1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Add LICENSE_FILE

- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-11-27 09:00:44 +00:00
parent 6a71ad6498
commit 39d23cfea8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427206

View File

@ -12,19 +12,22 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Connect four stones in a straight line
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/GPL
RUN_DEPENDS= ${PYGAME}
USES= python
NO_ARCH= yes
PORTDOCS= changelog.txt credits.txt
OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 16x16 22x22 32x32 48x48 64x64
SUB_FILES= ${PORTNAME} pkg-message
OPTIONS_DEFINE= DOCS
post-patch:
.for s in 16 22 32 48 64
@cd ${WRKSRC}/kde/icons/${s}x${s} ; \
@ -56,6 +59,7 @@ do-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}