fix this to get the existing "flavors" to work with package builds.
This commit is contained in:
parent
70633adffe
commit
d7c830368e
@ -3,12 +3,11 @@
|
||||
# Version required: mpage 2.5
|
||||
# Date created: August, 10th 1999
|
||||
# Whom: Ian McWilliam
|
||||
# $OpenBSD: Makefile,v 1.7 2000/04/09 17:37:52 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2000/04/14 08:34:24 turan Exp $
|
||||
|
||||
|
||||
DISTNAME= mpage-2.5
|
||||
CATEGORIES= print
|
||||
FAKE=No
|
||||
MASTER_SITES= ftp://ftp.mesa.nl/pub/mpage/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
@ -20,7 +19,23 @@ PERMIT_PACKAGE_FTP= YES
|
||||
PERMIT_DISTFILES_CDROM= YES
|
||||
PERMIT_DISTFILES_FTP= YES
|
||||
|
||||
NO_PACKAGE= package must be made manually with three paper sizes
|
||||
FAKE= Yes
|
||||
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
|
||||
|
||||
FLAVORS= us-letter legal a4
|
||||
|
||||
.if defined(FLAVOR)
|
||||
.if ${FLAVOR:L:Mus-letter}
|
||||
PAGESIZE="PAGE_LETTER"
|
||||
MAKE_FLAGS+= PAGESIZE="PAGE_LETTER"
|
||||
.elif ${FLAVOR:L:Mlegal}
|
||||
PAGESIZE="PAGE_LETTER"
|
||||
MAKE_FLAGS+= PAGESIZE="PAGE_LEGAL"
|
||||
.elif ${FLAVOR:L:Ma4}
|
||||
PAGESIZE="PAGE_LETTER"
|
||||
MAKE_FLAGS+= PAGESIZE="PAGE_A4"
|
||||
.endif
|
||||
.endif
|
||||
|
||||
fetch-depends:
|
||||
.if !defined(NO_WARNINGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user