diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-26 15:52:07 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-26 15:52:07 +0800 |
commit | 1fed3a8d0e2983bf3fa925369ad3516e9e9bfe89 (patch) | |
tree | fe5a4168071e52b53ffe1ac53c3e9f3d60b6584c /math | |
parent | a8f4152d6256315b59a7a501209d41778bfe3312 (diff) | |
download | freebsd-ports-gnome-1fed3a8d0e2983bf3fa925369ad3516e9e9bfe89.tar.gz freebsd-ports-gnome-1fed3a8d0e2983bf3fa925369ad3516e9e9bfe89.tar.zst freebsd-ports-gnome-1fed3a8d0e2983bf3fa925369ad3516e9e9bfe89.zip |
Support staging.
Diffstat (limited to 'math')
-rw-r--r-- | math/mathomatic/Makefile | 23 | ||||
-rw-r--r-- | math/mathomatic/pkg-plist | 3 |
2 files changed, 12 insertions, 14 deletions
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile index 609c5a1baeb5..609590ff8270 100644 --- a/math/mathomatic/Makefile +++ b/math/mathomatic/Makefile @@ -18,33 +18,34 @@ USE_BZIP2= yes MAKEFILE= makefile PORTDOCS= * -MAN1= mathomatic.1 +PLIST_FILES= bin/mathomatic man/man1/mathomatic.1.gz \ + share/pixmaps/mathomatic.png \ + share/applications/mathomatic.desktop MAKE_ARGS= READLINE=1 OPTIONS_DEFINE= DOCS -NO_STAGE= yes .include <bsd.port.options.mk> regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/mathomatic.1 ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.desktop \ - ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.png ${PREFIX}/share/pixmaps + ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/icons/mathomatic.png ${STAGEDIR}${PREFIX}/share/pixmaps .if ${PORT_OPTIONS:MDOCS} .for d in m4 tests - ${MKDIR} ${DOCSDIR}/${d} - ${INSTALL_DATA} ${WRKSRC}/${d}/* ${DOCSDIR}/${d} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/${d} + ${INSTALL_DATA} ${WRKSRC}/${d}/* ${STAGEDIR}${DOCSDIR}/${d} .endfor - ${MKDIR} ${DOCSDIR}/html - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/html + ${MKDIR} ${STAGEDIR}${DOCSDIR}/html + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/html .for f in AUTHORS README.txt changes.txt - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .endif diff --git a/math/mathomatic/pkg-plist b/math/mathomatic/pkg-plist deleted file mode 100644 index b15cc0220280..000000000000 --- a/math/mathomatic/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/mathomatic -share/pixmaps/mathomatic.png -share/applications/mathomatic.desktop |