This avoids the need for a confusing line of the form: DEINSTALL_TEMPLATE+= path/to/INSTALL in the package Makefile, and actually removes the need to specify it altogether since by convention, the existence of the DEINSTALL script is enough to add it to DEINSTALL_TEMPLATE.
32 lines
780 B
Makefile
32 lines
780 B
Makefile
# $NetBSD: Makefile,v 1.12 2006/06/15 20:40:15 jlam Exp $
|
|
|
|
DISTNAME= ghostscript-cidfonts-20000901
|
|
PKGREVISION= 2
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
DEPENDS+= adobe-cidfonts>=20000901:../../fonts/adobe-cidfonts
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= CIDFont resources for Ghostscript
|
|
|
|
GHOSTSCRIPT_REQD= 6.53
|
|
|
|
ADOBE_RESOURCEDIR= ${PREFIX}/share/Adobe/Resource
|
|
GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= gs:run
|
|
|
|
FILES_SUBST+= ADOBE_RESOURCEDIR=${ADOBE_RESOURCEDIR:Q}
|
|
FILES_SUBST+= GS_RESOURCEDIR=${GS_RESOURCEDIR:Q}
|
|
FILES_SUBST+= PKG_INFO=${PKG_INFO:Q}
|
|
|
|
REQD_DIRS= ${GS_RESOURCEDIR} ${GS_RESOURCEDIR}/CIDFont
|
|
|
|
do-install: # nothing
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|