diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-03-23 18:09:23 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-03-23 18:09:23 +0000 |
commit | 6dc952634541b206b0e3d75331039462bb6f303d (patch) | |
tree | 21a6d27eff70c97cd05b7da265cac1e6ac342cd8 /biology/gperiodic | |
parent | 62fd816b3573c80ee7684310be3306296d27ed31 (diff) |
Add staging support
Notes
Notes:
svn path=/head/; revision=348877
Diffstat (limited to 'biology/gperiodic')
-rw-r--r-- | biology/gperiodic/Makefile | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile index ae32d424b788..251a0cad7b22 100644 --- a/biology/gperiodic/Makefile +++ b/biology/gperiodic/Makefile @@ -20,7 +20,6 @@ PORTDOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \ gperiodic.c -o gperiodic @@ -28,24 +27,18 @@ do-build: cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po .endfor -.include <bsd.port.options.mk> - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \ - ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/gperiodic.png \ - ${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \ - ${PREFIX}/share/pixmaps + ${STAGEDIR}${PREFIX}/share/applications + (cd ${WRKSRC} && ${INSTALL_DATA} gperiodic.png gperiodic-crystal.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps) .for lang in ${LANGS} - @${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 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |