pkgsrc/lang/p2c/Makefile
dholland f25bee23a2 Assorted fixes:
- explain why we need post-extract chmods
 - sort PLIST
 - add patch comments
 - clean up some pkglint
 - fix a symbol name conflict with logf (from math.h + a gcc builtin)
 - fix some other bugs/issues found by gcc
 - add standard headers
 - remove some bogus BSD/System V include probing
 - probably fix gcc 4.5 build (not fully tested)
 - bump PKGREVISION
2011-12-18 16:54:08 +00:00

28 lines
683 B
Makefile

# $NetBSD: Makefile,v 1.13 2011/12/18 16:54:08 dholland Exp $
DISTNAME= p2c-1.20
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://csvax.cs.caltech.edu/pub/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Pascal to C compiler (translates Pascal to C)
LICENSE= gnu-gpl-v1
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/src
CFLAGS+= -Dunix=1
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
.include "../../mk/bsd.prefs.mk"
post-extract:
# The distfile contains a number of world-writable files, including
# an entry for '.' that causes pkgsrc to become upset. Fix it.
${CHMOD} 755 ${WRKDIR}
${CHMOD} -R o-w ${WRKDIR}
.include "../../mk/bsd.pkg.mk"