Use the extended PLIST_SRC support which now also reads:

PLIST.${MACHINE_ARCH:C/i[3-6]86/i386/g}
PLIST.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g}
and remove the package hack for MD PLIST files.

Rename PLIST.pro to PLIST.common and PLIST.post to PLIST.common_end
and rename the PLIST.* files from ${LOWER_OPSYS} to ${OPSYS}.
This commit is contained in:
veego 2005-02-21 21:26:15 +00:00
parent ab852a7a50
commit d690fc821d
7 changed files with 7 additions and 10 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2004/01/20 12:24:28 agc Exp $
# $NetBSD: Makefile,v 1.26 2005/02/21 21:26:15 veego Exp $
PKGNAME= acroread3-3.01
CATEGORIES= print
@ -57,9 +57,6 @@ DISTNAME= ${PKGNAME}
LDD?= ${TRUE}
.endif
PLIST_SRC= ${PKGDIR}/PLIST.pre \
${PKGDIR}/PLIST.${LOWER_OPSYS}-${MACHINE_ARCH} \
${PKGDIR}/PLIST.post
PLIST_SUBST+= PLATFORM=${PLATFORM}
pre-install:

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.netbsd-i386,v 1.1 2001/10/31 23:31:15 zuntum Exp $
@comment $NetBSD: PLIST.NetBSD-alpha,v 1.1 2005/02/21 21:26:15 veego Exp $
Acrobat3/Reader/${PLATFORM}/lib/libagm.so
Acrobat3/Reader/${PLATFORM}/lib/libagm.so.2.0
Acrobat3/Reader/${PLATFORM}/lib/libpfs.so

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.netbsd-alpha,v 1.1 2001/10/31 23:31:15 zuntum Exp $
@comment $NetBSD: PLIST.NetBSD-i386,v 1.1 2005/02/21 21:26:15 veego Exp $
Acrobat3/Reader/${PLATFORM}/lib/libagm.so
Acrobat3/Reader/${PLATFORM}/lib/libagm.so.2.0
Acrobat3/Reader/${PLATFORM}/lib/libpfs.so

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.netbsd-sparc,v 1.1 2001/10/31 23:31:15 zuntum Exp $
@comment $NetBSD: PLIST.NetBSD-sparc,v 1.1 2005/02/21 21:26:15 veego Exp $
Acrobat3/Reader/desktop/olwm/acroread.cetable
Acrobat3/Reader/desktop/olwm/acroread.deskinstall
Acrobat3/Reader/desktop/olwm/acroread.prog.icon

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.sunos-sparc,v 1.1 2001/10/31 23:31:15 zuntum Exp $
@comment $NetBSD: PLIST.SunOS-sparc,v 1.1 2005/02/21 21:26:15 veego Exp $
Acrobat3/Reader/desktop/olwm/acroread.cetable
Acrobat3/Reader/desktop/olwm/acroread.deskinstall
Acrobat3/Reader/desktop/olwm/acroread.prog.icon

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.pre,v 1.1 2001/10/31 23:31:15 zuntum Exp $
@comment $NetBSD: PLIST.common,v 1.1 2005/02/21 21:26:15 veego Exp $
Acrobat3/Browsers/netscape
Acrobat3/Browsers/${PLATFORM}/nppdf.so
Acrobat3/Fonts/AcroRead.upr

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.post,v 1.2 2002/02/15 10:12:56 skrll Exp $
@comment $NetBSD: PLIST.common_end,v 1.1 2005/02/21 21:26:15 veego Exp $
@exec ln -sf %D/Acrobat3/Reader/Fonts %D/Acrobat3/Reader/${PLATFORM}/fonts
@unexec ${RM} -f %D/Acrobat3/Reader/${PLATFORM}/fonts
@exec ln -sf %D/Acrobat3/Reader/res %D/Acrobat3/Reader/${PLATFORM}/res