- Add LICENSE

- Convert USE_GMAKE to USES
- Add shebangfix to USES
- Add stage support
- Improve the patch name
- Improve pkg-plist
This commit is contained in:
Danilo Egea Gondolfo 2013-12-09 16:41:34 +00:00
parent 20b1292a18
commit c9b0543b6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336004
3 changed files with 14 additions and 14 deletions

View File

@ -11,21 +11,21 @@ MASTER_SITE_SUBDIR= pat
MAINTAINER= ports@FreeBSD.org
COMMENT= Window Maker dockapp that display game scores from excite
LICENSE= GPLv2
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GMAKE= yes
USE_XORG= xpm
USES= gmake shebangfix
SHEBANG_FILES= GrabScores.excite
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmScoreBoard ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/GrabScores.excite ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in BUGS CHANGES HINTS README
@${INSTALL_DATA} ${WRKSRC}/../${docs} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../${docs} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
bin/GrabScores.excite
bin/wmScoreBoard
%%PORTDOCS%%share/doc/wmScoreBoard/BUGS
%%PORTDOCS%%share/doc/wmScoreBoard/CHANGES
%%PORTDOCS%%share/doc/wmScoreBoard/HINTS
%%PORTDOCS%%share/doc/wmScoreBoard/README
%%PORTDOCS%%@dirrm share/doc/wmScoreBoard
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/HINTS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%