e93eeaf4d1
directories use hyphens as FLAVOR delimiters. OK'd by maintainer.
43 lines
874 B
Makefile
43 lines
874 B
Makefile
# OpenBSD ports makefile for: mpage
|
|
#
|
|
# Version required: mpage 2.5
|
|
# Date created: August, 10th 1999
|
|
# Whom: Ian McWilliam
|
|
# $OpenBSD: Makefile,v 1.11 2000/07/11 01:09:35 matt Exp $
|
|
|
|
|
|
DISTNAME= mpage-2.5
|
|
CATEGORIES= print
|
|
MASTER_SITES= ftp://ftp.mesa.nl/pub/mpage/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ianm@cit.nepean.uws.edu.au
|
|
|
|
LICENSE_TYPE= BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FAKE= Yes
|
|
FLAVORS=us_letter legal a4
|
|
FLAVOR?=a4
|
|
|
|
|
|
fetch-depends:
|
|
.if ${FLAVOR:L} == "us_letter"
|
|
MAKE_ENV+= PAGESIZE=PAGE_LETTER
|
|
.elif ${FLAVOR:L} == "legal"
|
|
MAKE_ENV+= PAGESIZE=PAGE_LEGAL
|
|
.elif ${FLAVOR:L} == "a4"
|
|
MAKE_ENV+= PAGESIZE=PAGE_A4
|
|
.else
|
|
@echo ""
|
|
@echo >&2 "Unknown flavor: ${FLAVOR}"
|
|
@echo >&2 "You must set ONE flavor: ${FLAVORS}"
|
|
@echo ""
|
|
@exit 1
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|