Flavors for ghostscript_encrypt.

This commit is contained in:
espie 2000-04-03 01:54:06 +00:00
parent ded49a176a
commit e1c120c9c4
4 changed files with 14 additions and 7 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2000/03/30 21:09:54 espie Exp $ # $OpenBSD: Makefile,v 1.4 2000/04/03 01:54:06 espie Exp $
SUBDIR += aladdin SUBDIR += aladdin
SUBDIR += aladdin:a4 SUBDIR += aladdin:a4
SUBDIR += gnu SUBDIR += gnu
SUBDIR += gnu:a4 SUBDIR += gnu:a4
SUBDIR += encrypt SUBDIR += encrypt:aladdin
SUBDIR += encrypt:gnu
.include <bsd.port.subdir.mk> .include <bsd.port.subdir.mk>

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.6 2000/03/24 23:28:30 espie Exp $ # $OpenBSD: Makefile,v 1.7 2000/04/03 01:54:06 espie Exp $
CATEGORIES= print CATEGORIES= print
NEED_VERSION= 1.230 NEED_VERSION= 1.247
MASTER_SITES= http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/ MASTER_SITES= http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/
HOMEPAGE= http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/ HOMEPAGE= http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/
DISTFILES= pdf_sec.ps DISTFILES= pdf_sec.ps
@ -16,14 +16,20 @@ PERMIT_DISTFILES_CDROM= No
NO_BUILD=Yes NO_BUILD=Yes
DISTNAME= ghostscript_encrypt
FLAVORS=aladdin gnu
.if defined(ALADDIN) .if defined(ALADDIN)
DISTNAME= aladdin-ghostscript-encrypt FLAVOR=aladdin
.endif
FLAVOR?=gnu
.if ${FLAVOR:L} == "aladdin"
GSDIR=${PREFIX}/share/ghostscript/6.01/lib GSDIR=${PREFIX}/share/ghostscript/6.01/lib
RUN_DEPENDS=${GSDIR}::print/ghostscript/aladdin RUN_DEPENDS=${GSDIR}::print/ghostscript/aladdin
PLIST=${PKGDIR}/PLIST.aladdin
.else .else
# Gnu ghostscript, default # Gnu ghostscript, default
DISTNAME= ghostscript-encrypt
GSDIR=${PREFIX}/share/ghostscript/5.50 GSDIR=${PREFIX}/share/ghostscript/5.50
RUN_DEPENDS=${GSDIR}::print/ghostscript/gnu RUN_DEPENDS=${GSDIR}::print/ghostscript/gnu
.endif .endif