aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/fet
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-26 21:51:21 +0800
committerwg <wg@FreeBSD.org>2013-10-26 21:51:21 +0800
commitfffb7980e745659d4a72638a7514be8c71434377 (patch)
treeb44bd069126f3b006a695ff970feca8071c21a07 /deskutils/fet
parent0db367d187c30a0958a6e8b4adf576a3bc734df6 (diff)
downloadfreebsd-ports-gnome-fffb7980e745659d4a72638a7514be8c71434377.tar.gz
freebsd-ports-gnome-fffb7980e745659d4a72638a7514be8c71434377.tar.zst
freebsd-ports-gnome-fffb7980e745659d4a72638a7514be8c71434377.zip
deskutils/fet: update to 5.20.1
- Update to 5.20.1 [1] - Allow staging - Use options helpers PR: ports/182826 Submitted by: Zsolt Udvari <udvzsolt gmail.com> Approved by: maintainer (timeout)
Diffstat (limited to 'deskutils/fet')
-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