From 5906fe9f8eaf1c3432e62893f4b4a1e522a38543 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 30 Jan 2014 18:10:28 +0000 Subject: Stage support --- deskutils/gtimer/Makefile | 11 ++++------- deskutils/gtimer/pkg-plist | 1 + 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'deskutils/gtimer') 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 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 -- cgit v1.2.3