Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 15:14:09 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348693 - head/math/clarence
Message-ID:  <201403201514.s2KFE9sg080741@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 20 15:14:08 2014
New Revision: 348693
URL: http://svnweb.freebsd.org/changeset/ports/348693
QAT: https://qat.redports.org/buildarchive/r348693/

Log:
  Support staging

Modified:
  head/math/clarence/Makefile

Modified: head/math/clarence/Makefile
==============================================================================
--- head/math/clarence/Makefile	Thu Mar 20 15:10:18 2014	(r348692)
+++ head/math/clarence/Makefile	Thu Mar 20 15:14:08 2014	(r348693)
@@ -11,18 +11,17 @@ MASTER_SITES=	http://www.sourcefiles.org
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403201514.s2KFE9sg080741>