summaryrefslogtreecommitdiff
path: root/deskutils/gtimer
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-30 18:10:28 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-30 18:10:28 +0000
commit5906fe9f8eaf1c3432e62893f4b4a1e522a38543 (patch)
tree63dc9ebca95b838f80fa0b64dcb3722ece240e36 /deskutils/gtimer
parent01181ffbfaf42855cc0e52bed17bd3a9641afac6 (diff)
downloadfreebsd-ports-5906fe9f8eaf1c3432e62893f4b4a1e522a38543.zip
Stage support
Diffstat (limited to 'deskutils/gtimer')
-rw-r--r--deskutils/gtimer/Makefile11
-rw-r--r--deskutils/gtimer/pkg-plist1
2 files changed, 5 insertions, 7 deletions
diff --git a/deskutils/gtimer/Makefile b/deskutils/gtimer/Makefile
index 7cb73bf670f8..e96957f9cd81 100644
--- a/deskutils/gtimer/Makefile
+++ b/deskutils/gtimer/Makefile
@@ -19,12 +19,9 @@ USE_GNOME= gtk20
USES= gettext perl5 gmake pkgconfig
GNU_CONFIGURE= yes
-MAN1= ${PORTNAME}.1
-
CPPFLAGS+= -I${LOCALBASE}/include -Wno-return-type
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|1.1.7|${PORTVERSION}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|"sensible-browser"|"xdg-open"|g' ${WRKSRC}/config.h
@@ -41,12 +38,12 @@ post-build:
.endfor
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.for lang in cs cz es fr sv
- @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
- ${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
+ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
.endfor
.include <bsd.port.mk>
diff --git a/deskutils/gtimer/pkg-plist b/deskutils/gtimer/pkg-plist
index ca7bca422007..fbda71b740f5 100644
--- a/deskutils/gtimer/pkg-plist
+++ b/deskutils/gtimer/pkg-plist
@@ -1,4 +1,5 @@
bin/gtimer
+man/man1/gtimer.1.gz
share/locale/cs/LC_MESSAGES/gtimer.mo
share/locale/cz/LC_MESSAGES/gtimer.mo
share/locale/es/LC_MESSAGES/gtimer.mo