1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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)
This commit is contained in:
William Grzybowski 2013-10-26 13:51:21 +00:00
parent b896c137ee
commit b8c737f6c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331690
3 changed files with 14 additions and 19 deletions

View File

@ -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>

View File

@ -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

View File

@ -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