- Fix LICENSE

- Add LICENSE_FILE
- Fix shebangs
- Add NO_ARCH
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-03-01 13:19:04 +00:00
parent 663c91e8bb
commit 0fa51c97eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463303

View File

@ -3,13 +3,14 @@
PORTNAME= swine
PORTVERSION= 1.0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= emulators deskutils python
MAINTAINER= koalative@gmail.com
COMMENT= Qt4 graphical Wine frontend
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= xterm:x11/xterm \
cabextract:archivers/cabextract \
@ -21,11 +22,13 @@ USE_GITHUB= yes
GH_ACCOUNT= dswd
GH_PROJECT= Swine
USES= gmake python:2.7 pyqt:4
USES= gmake python:2.7 shebangfix pyqt:4
SHEBANG_FILES= *.py
NO_BUILD= yes
USE_PYQT= gui_run xml_build
USE_QT4= linguist_build
ONLY_FOR_ARCHS= i386 amd64
NO_ARCH= yes
PORTDOCS= README
OPTIONS_DEFINE= DOCS
@ -50,6 +53,7 @@ post-install:
${LN} -sf ${DATADIR}/images/swine32.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}