From 79d72afcd4dbc05f6110de1e4b8644dc2a0890a8 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Mar 2014 15:14:08 +0000 Subject: Support staging --- math/clarence/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'math/clarence') 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 -- cgit v1.2.3