aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/fet
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-24 23:32:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-24 23:32:36 +0800
commit03361b305632d890432d6a44fa2043151621784c (patch)
tree72ec00d97c56ca7b8b7bb8007f631dbc3f2c2309 /deskutils/fet
parent90cb4bf962f7497148ca1018e789aeb2273ed6fb (diff)
downloadfreebsd-ports-gnome-03361b305632d890432d6a44fa2043151621784c.tar.gz
freebsd-ports-gnome-03361b305632d890432d6a44fa2043151621784c.tar.zst
freebsd-ports-gnome-03361b305632d890432d6a44fa2043151621784c.zip
This just missed to be committed along with PR208156, still:
- Fix license - Fix whitespace - Switch to options helpers PR: 208156 Approved by: portmgr blanket
Diffstat (limited to 'deskutils/fet')
-rw-r--r--deskutils/fet/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/deskutils/fet/Makefile b/deskutils/fet/Makefile
index e4add7a10979..c054fff80fc7 100644
--- a/deskutils/fet/Makefile
+++ b/deskutils/fet/Makefile
@@ -12,8 +12,8 @@ MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
MAINTAINER= udvzsolt@gmail.com
COMMENT= Free timetabling software
-LICENSE= GPLv2 GPLv3
-LICENSE_COMB= dual
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= qmake tar:bzip2
USE_QT4= gui network xml \
@@ -36,10 +36,10 @@ OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MONLYCL}
-INSTALL_TARGET=${WRKSRC}/fet-cl
+INSTALL_TARGET= ${WRKSRC}/fet-cl
.else
-INSTALL_TARGET=${WRKSRC}/fet
-QMAKE_PRO=src/src-cl.pro
+INSTALL_TARGET= ${WRKSRC}/fet
+QMAKE_PRO= src/src-cl.pro
.endif
post-patch:
@@ -50,9 +50,11 @@ do-install:
${INSTALL_PROGRAM} ${INSTALL_TARGET} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${MANPREFIX}/man/man1
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \. ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/translations
cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}/translations
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \. ${STAGEDIR}${EXAMPLESDIR}
+
.include <bsd.port.mk>