aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-10-26 13:51:21 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-10-26 13:51:21 +0000
commitb8c737f6c54a79eaa61dc15e9033a99aaaa47987 (patch)
treeb44bd069126f3b006a695ff970feca8071c21a07 /deskutils
parentb896c137ee92035c8d698b3e4b9da8e8bcc71362 (diff)
downloadports-b8c737f6c54a79eaa61dc15e9033a99aaaa47987.tar.gz
ports-b8c737f6c54a79eaa61dc15e9033a99aaaa47987.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/fet/Makefile28
-rw-r--r--deskutils/fet/distinfo4
-rw-r--r--deskutils/fet/pkg-plist1
3 files changed, 14 insertions, 19 deletions
diff --git a/deskutils/fet/Makefile b/deskutils/fet/Makefile
index e75b12109f84..eb86357b2f9b 100644
--- a/deskutils/fet/Makefile
+++ b/deskutils/fet/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fet
-PORTVERSION= 5.19.3
+PORTVERSION= 5.20.1
CATEGORIES= deskutils kde
MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
http://lalescu.ro/liviu/fet/download/old/ \
@@ -20,8 +20,6 @@ USE_QT4= gui network xml \
moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
-MAN1= fet.1
-
PORTEXAMPLES= *
DESKTOP_ENTRIES="FET" \
@@ -31,14 +29,10 @@ DESKTOP_ENTRIES="FET" \
"Education;Qt;" \
true
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= EXAMPLES NLS
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
@@ -49,16 +43,16 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fet ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/fet ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \. ${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \. ${STAGEDIR}${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MNLS}
- ${MKDIR} ${DATADIR}/translations
- cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${DATADIR}/translations
+ ${MKDIR} ${STAGEDIR}${DATADIR}/translations
+ cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}/translations
.endif
.include <bsd.port.mk>
diff --git a/deskutils/fet/distinfo b/deskutils/fet/distinfo
index 2ea11ce84852..d08bd0677677 100644
--- a/deskutils/fet/distinfo
+++ b/deskutils/fet/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fet-5.19.3.tar.bz2) = 3f9b470e0f729bedb1ab73552f577e796e33885a2e46e8a914624e928dca4d00
-SIZE (fet-5.19.3.tar.bz2) = 7870089
+SHA256 (fet-5.20.1.tar.bz2) = 4c34b05ff6fd87326f736c7d7598e82759fcfd09701568703d9687e50c407fd2
+SIZE (fet-5.20.1.tar.bz2) = 7981564
diff --git a/deskutils/fet/pkg-plist b/deskutils/fet/pkg-plist
index c28939308642..72730fc68034 100644
--- a/deskutils/fet/pkg-plist
+++ b/deskutils/fet/pkg-plist
@@ -1,5 +1,6 @@
bin/fet
bin/fet-cl
+man/man1/fet.1.gz
%%NLS%%%%DATADIR%%/translations/fet_ar.qm
%%NLS%%%%DATADIR%%/translations/fet_ca.qm
%%NLS%%%%DATADIR%%/translations/fet_da.qm