freebsd-ports/devel/tmake/Makefile
Sunpoet Po-Chuan Hsieh 2f742c1366 - Update to 1.13
- Cleanup Makefile
- Remove an .orig entry in PLIST
- Take maintainership
2011-11-05 16:52:17 +00:00

40 lines
980 B
Makefile

# New ports collection makefile for: tmake
# Date created: 8 March 2000
# Whom: jesse@cs.uni-magdeburg.de
#
# $FreeBSD$
#
PORTNAME= tmake
PORTVERSION= 1.13
CATEGORIES= devel perl5
MASTER_SITES= ftp://ftp.trolltech.com/freebies/tmake/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Extremely portable perl-based make utility
NO_BUILD= yes
REINPLACE_ARGS= -i ''
USE_PERL5= yes
post-patch:
@${RM} -f ${WRKSRC}/bin/tmake.orig ${WRKSRC}/lib/unix/generic.t.orig
@${REINPLACE_CMD} \
-e 's|/usr/local|${LOCALBASE}|g' \
-e 's|/usr/X11R6|${LOCALBASE}|g' \
-e '/^TMAKE_CFLAGS_RELEASE/ s| -O[0-9]||' \
${WRKSRC}/lib/freebsd-g++/tmake.conf
do-install:
@${MKDIR} ${DATADIR}/
@cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${DATADIR}/
@cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} progen tmake ${PREFIX}/bin/
post-install:
@${ECHO}
@${ECHO} "Make sure to set your TMAKEPATH environment variable"
@${ECHO} "to ${DATADIR}/freebsd-g++."
@${ECHO}
.include <bsd.port.mk>