pkgsrc/devel/jam/Makefile
tnn 83e87d89dd Update to jam-2.5.2.
This switches over from the perforce jam distribution to the jam
distribution from the FreeType project. This is fully backwards compatible
with the perforce distribution.
The FreeType jam distribution ships with a GNU configure script.
Other differences are added support for shared libraries, macro expansion,
more flexible command line processing and a fix to dependency calculation.

This closes PR pkg/37285 and should make devel/jam build on NetBSD 4.0.
2008-03-10 00:09:23 +00:00

47 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2008/03/10 00:09:23 tnn Exp $
#
PKGNAME= jam-2.5.2
DISTNAME= ft${PKGNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/}
#MASTER_SITES= ftp://ftp.perforce.com/pub/jam/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://freetype.sourceforge.net/jam/index.html
#HOMEPAGE= http://www.perforce.com/jam/jam.html
COMMENT= Program construction tool, like make(1)
CONFLICTS= acunia-jam-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= yacc gmake
DOCDIR= share/doc/${PKGBASE}
HTMLDIR= share/doc/html/${PKGBASE}
INSTALLATION_DIRS= bin ${DOCDIR} ${HTMLDIR}
do-install:
for f in jam mkjambase; do \
${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${f} \
${DESTDIR}${PREFIX}/bin; \
done
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
for f in Porting README RELNOTES; do \
${INSTALL_DATA} ${WRKSRC}/$${f} \
${DESTDIR}${PREFIX}/${DOCDIR}; \
done
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDIR}
for f in *.html; do \
${INSTALL_DATA} ${WRKSRC}/$${f} \
${DESTDIR}${PREFIX}/${HTMLDIR}; \
done
.include "../../mk/bsd.pkg.mk"