diff options
author | gahr <gahr@FreeBSD.org> | 2014-03-14 18:16:42 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-03-14 18:16:42 +0800 |
commit | ecd14eafb8167f5a2cef9539c6121d259a6bea9d (patch) | |
tree | 75c0cd7a2c0233e0660df65ae21dce9c9252887c /devel/ftjam | |
parent | be57a80f4f46624a7a3582442f52c754563b9b72 (diff) | |
download | freebsd-ports-gnome-ecd14eafb8167f5a2cef9539c6121d259a6bea9d.tar.gz freebsd-ports-gnome-ecd14eafb8167f5a2cef9539c6121d259a6bea9d.tar.zst freebsd-ports-gnome-ecd14eafb8167f5a2cef9539c6121d259a6bea9d.zip |
- Take maintainership
- Modernize Makefile
- Remove conflict with devel/jam
Diffstat (limited to 'devel/ftjam')
-rw-r--r-- | devel/ftjam/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/devel/ftjam/Makefile b/devel/ftjam/Makefile index 7c8772633a0e..ed3f465548b7 100644 --- a/devel/ftjam/Makefile +++ b/devel/ftjam/Makefile @@ -6,16 +6,14 @@ PORTVERSION= 2.5.2 CATEGORIES= devel MASTER_SITES= SF/freetype/${PORTNAME}/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= Small build tool that can be used as a replacement for make(1) -CONFLICTS= jam-[0-9]* +OPTIONS_DEFINE= DOCS -USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake tar:bzip2 -PORTDOCS= \ - Jam.html \ +PORTDOCS= Jam.html \ Jambase.html \ Jamfile.html \ Porting \ @@ -26,18 +24,14 @@ PORTDOCS= \ PLIST_FILES= bin/${PORTNAME} do-configure: - @${REINPLACE_CMD} -E \ - -e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \ - -e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CFLAGS}|' \ - ${BUILD_WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e '/^CC/s|=|?=|; /^CFLAGS/s|=|?=|' \ + ${BUILD_WRKSRC}/${MAKEFILE} do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} -. for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} +. for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} . endfor -# INSTALL_WRKSRC changes depending on ARCH - @${INSTALL_PROGRAM} `${FIND} ${WRKSRC} -name "bin.unix*"`/jam \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${INSTALL_PROGRAM} ${WRKSRC}/bin.unix/jam ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> |