openbsd-ports/devel/tmake/Makefile
naddy eb3b07f8fd Import tmake 1.8; submitted by Dan Weeks <danimal@danimal.org>.
tmake is a tool from Trolltech to create and maintain makefiles for
software projects.  tmake makes it easier to maintain a complex
project across multiple computer architectures.
2002-02-28 14:15:31 +00:00

37 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2002/02/28 14:15:31 naddy Exp $
COMMENT= "Cross-platform makefile tool from TrollTech"
DISTNAME= tmake-1.8
CATEGORIES= devel
NEED_VERSION= 1.504
HOMEPAGE= http://www.trolltech.com/developer/download/tmake.html
MAINTAINER= Dan Weeks <danimal@danimal.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.trolltech.com/freebies/tmake/
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
@perl -pi -e 's:%%PREFIX%%:${TRUEPREFIX}:' ${WRKSRC}/bin/tmake
${INSTALL_SCRIPT} ${WRKSRC}/bin/tmake ${PREFIX}/bin/tmake
${INSTALL_SCRIPT} ${WRKSRC}/bin/progen ${PREFIX}/bin/progen
@cd ${WRKSRC}/lib; \
for dir in openbsd-g++ unix; do \
${INSTALL_DATA_DIR} ${PREFIX}/share/tmake/$$dir; \
${INSTALL_DATA} ${WRKSRC}/lib/$$dir/* ${PREFIX}/share/tmake/$$dir; \
done; \
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tmake
${INSTALL_DATA} ${WRKSRC}/doc/tmake.html ${PREFIX}/share/doc/tmake/tmake.html
${INSTALL_DATA} ${WRKSRC}/doc/tmake_ref.html ${PREFIX}/share/doc/tmake/tmake_ref.html
.include <bsd.port.mk>