blob: 35723cbdf0109f76dc5c0bb3edce90e044467599 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= tmake
PORTVERSION= 2.12
CATEGORIES= devel perl5
MASTER_SITES= SF \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Extremely portable perl-based make utility
WWW= http://tmake.sourceforge.net/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= perl5 shebangfix zip
NO_ARCH= yes
NO_BUILD= yes
SHEBANG_FILES= bin/progen bin/tmake
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/lib/freebsd-g++/tmake.conf
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} progen tmake ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ '! -name *.bak -and ! -name *.orig'
@${ECHO_MSG}
@${ECHO_MSG} "Make sure to set your TMAKEPATH environment variable to ${DATADIR}/freebsd-g++"
@${ECHO_MSG}
.include <bsd.port.mk>
|