diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-20 23:14:08 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-20 23:14:08 +0800 |
commit | 798547205dbe5ba2e2d09cbedce21875b15e2582 (patch) | |
tree | 89b6d00ad6e9e6f88ba9239b0d245837e1cca50b /math | |
parent | decaa9b6b10f9dff1e5912bebcc74951285b864d (diff) | |
download | freebsd-ports-gnome-798547205dbe5ba2e2d09cbedce21875b15e2582.tar.gz freebsd-ports-gnome-798547205dbe5ba2e2d09cbedce21875b15e2582.tar.zst freebsd-ports-gnome-798547205dbe5ba2e2d09cbedce21875b15e2582.zip |
Support staging
Diffstat (limited to 'math')
-rw-r--r-- | math/clarence/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/math/clarence/Makefile b/math/clarence/Makefile index fb33d459d978..b7ce17daba64 100644 --- a/math/clarence/Makefile +++ b/math/clarence/Makefile @@ -11,18 +11,17 @@ MASTER_SITES= http://www.sourcefiles.org/Productivity_Tools/Calculators/ \ MAINTAINER= psh@iki.fi COMMENT= Programmer's calculator +USES= shebangfix USE_GNOME= pygtk2 USE_PYTHON= yes NO_BUILD= yes -MAN1= clarence.1 -PLIST_FILES= bin/clarence -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e "s,#!/usr/bin/python,#!/usr/bin/env python,g" ${WRKSRC}/clarence.py +PLIST_FILES= bin/clarence man/man1/clarence.1.gz +SHEBANG_FILES= clarence.py do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/clarence.py ${PREFIX}/bin/clarence - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/clarence.py \ + ${STAGEDIR}${PREFIX}/bin/clarence + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |