2012-10-31 12:16:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2012/10/31 11:17:07 asau Exp $
|
2002-04-20 22:04:06 +02:00
|
|
|
#
|
|
|
|
|
2008-03-10 01:09:23 +01:00
|
|
|
PKGNAME= jam-2.5.2
|
|
|
|
DISTNAME= ft${PKGNAME}
|
2002-04-20 22:04:06 +02:00
|
|
|
CATEGORIES= devel
|
2008-03-10 01:09:23 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/}
|
|
|
|
#MASTER_SITES= ftp://ftp.perforce.com/pub/jam/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-04-20 22:04:06 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
2008-03-10 01:09:23 +01:00
|
|
|
HOMEPAGE= http://freetype.sourceforge.net/jam/index.html
|
|
|
|
#HOMEPAGE= http://www.perforce.com/jam/jam.html
|
2002-04-20 22:04:06 +02:00
|
|
|
COMMENT= Program construction tool, like make(1)
|
|
|
|
|
2002-08-22 19:23:12 +02:00
|
|
|
CONFLICTS= acunia-jam-[0-9]*
|
|
|
|
|
2008-03-10 01:09:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
USE_TOOLS+= yacc gmake
|
Update to the 2.5 release. The previous version in pkgsrc was
actually 2.5rc1. From the changelog:
* Jam 2.5 is merely Jam 2.5rc3 of April 2003 with the rc3
moniker removed.)
* Using SubDir to include a subpart of an SubDir tree now works.
Previously, you could only include the root of another SubDir
tree. This example includes the ../server/support/Jamfile,
without getting confused as to the current directory:
SubDir ALL src builds ;
SubInclude ALL src server support ;
* Undocumented support for SUBDIRRULES, user-provided rules to
invoke at the end of the SubDir rule, and SUBDIRRESET, SUBDIR
variables to reset (like SUBDIRC++FLAGS, SUBDIRHDRS, etc) for
each new SubDir.
* Remove NT FQuote rule, as, \" is required to pass quotes on the
command line.
* Remove temp .bat files created on NT. They used to all have the
same name and get reused, but with 2.5 the names were salted
with the PID and they would litter $TEMP. Now they get removed
after being used.
Set DIST_SUBDIR since Perforce seems to make a habit of updating
distfiles without changing filenames. (This occurrence spotted by
Lars Nordlund.) The zip file no longer extracts into a subdir; set
WRKSRC accordingly.
Bump PKGREVISION.
2004-09-04 15:56:46 +02:00
|
|
|
|
2002-04-20 22:04:06 +02:00
|
|
|
DOCDIR= share/doc/${PKGBASE}
|
|
|
|
HTMLDIR= share/doc/html/${PKGBASE}
|
|
|
|
|
2008-03-10 01:09:23 +01:00
|
|
|
INSTALLATION_DIRS= bin ${DOCDIR} ${HTMLDIR}
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2002-04-20 22:04:06 +02:00
|
|
|
do-install:
|
2007-03-24 07:20:30 +01:00
|
|
|
for f in jam mkjambase; do \
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin.*/$${f} \
|
|
|
|
${DESTDIR}${PREFIX}/bin; \
|
2002-04-20 22:04:06 +02:00
|
|
|
done
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
|
2007-03-24 07:20:30 +01:00
|
|
|
for f in Porting README RELNOTES; do \
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${f} \
|
|
|
|
${DESTDIR}${PREFIX}/${DOCDIR}; \
|
2002-04-20 22:04:06 +02:00
|
|
|
done
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${HTMLDIR}
|
2007-03-24 07:20:30 +01:00
|
|
|
for f in *.html; do \
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${f} \
|
|
|
|
${DESTDIR}${PREFIX}/${HTMLDIR}; \
|
2002-04-20 22:04:06 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|