PORTNAME= ftjam PORTVERSION= 2.5.2 CATEGORIES= devel MASTER_SITES= SF/freetype/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Small build tool that can be used as a replacement for make(1) WWW= https://freetype.sourceforge.net/jam/ USES= dos2unix gmake tar:bzip2 DOS2UNIX_GLOB= *.c jam.h PORTDOCS= Jam.html \ Jambase.html \ Jamfile.html \ Porting \ README \ RELNOTES \ jam.c PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^CC/s|=|?=|; /^CFLAGS/s|=|?=|' \ ${BUILD_WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin.unix/jam ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} . for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} . endfor .include