mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
4f288304ec
commit
79d72afcd4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348693
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user