aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-31 02:10:28 +0800
committerantoine <antoine@FreeBSD.org>2014-01-31 02:10:28 +0800
commit777c9b767e6f39b504df24aa1929651467e396d0 (patch)
tree63dc9ebca95b838f80fa0b64dcb3722ece240e36 /deskutils
parenta79674b99738036102ccf211867b4e6b08d17c90 (diff)
downloadfreebsd-ports-gnome-777c9b767e6f39b504df24aa1929651467e396d0.tar.gz
freebsd-ports-gnome-777c9b767e6f39b504df24aa1929651467e396d0.tar.zst
freebsd-ports-gnome-777c9b767e6f39b504df24aa1929651467e396d0.zip
Stage support
Diffstat (limited to 'deskutils')
-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