2004-10-08 04:22:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2004/10/08 08:22:28 xsa Exp $
|
2002-02-28 09:15:31 -05:00
|
|
|
|
|
|
|
COMMENT= "Cross-platform makefile tool from TrollTech"
|
|
|
|
|
2003-02-02 11:34:02 -05:00
|
|
|
DISTNAME= tmake-1.10
|
2002-02-28 09:15:31 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.trolltech.com/developer/download/tmake.html
|
|
|
|
|
2002-07-17 03:19:23 -04:00
|
|
|
# Permission to use, copy, modify, and distribute
|
2002-02-28 09:15:31 -05:00
|
|
|
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
|
2004-02-03 02:20:42 -05:00
|
|
|
PKG_ARCH= *
|
2002-02-28 09:15:31 -05:00
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= x11/qt3
|
2003-02-02 11:34:02 -05:00
|
|
|
MODQT_MT= Yes
|
2002-04-09 11:32:12 -04:00
|
|
|
|
2002-02-28 09:15:31 -05:00
|
|
|
do-install:
|
2002-04-09 11:32:12 -04:00
|
|
|
@perl -pi \
|
|
|
|
-e 's|%%CC%%|${CC}|g;' \
|
|
|
|
-e 's|%%CFLAGS%%|${CFLAGS}|g;' \
|
|
|
|
-e 's|%%CXX%%|${CXX}|g;' \
|
|
|
|
-e 's|%%CXXFLAGS%%|${CXXFLAGS}|g;' \
|
|
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|g;' \
|
|
|
|
-e 's|%%MODQT_INCDIR%%|${MODQT_INCDIR}|g;' \
|
|
|
|
-e 's|%%MODQT_LIBDIR%%|${MODQT_LIBDIR}|g;' \
|
|
|
|
-e 's|%%MODQT_MOC%%|${MODQT_MOC}|g;' \
|
|
|
|
-e 's|%%X11BASE%%|${X11BASE}|g;' \
|
|
|
|
${WRKSRC}/lib/openbsd-g++/tmake.conf
|
2002-02-28 09:15:31 -05:00
|
|
|
@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>
|