1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00

No need to define DISTFILES, the default is already correct. Change

"?=" to "=" for MAKE_FLAGS, bsd.port.mk is read later anyway.  Change
"/usr/local" to "${PREFIX}" and "/usr/bin/false" to ${FALSE}.  Remove
spurious empty lines.

Many of the above found by:	portlint
This commit is contained in:
Satoshi Asami 1997-08-05 06:37:19 +00:00
parent 324714ea3d
commit 26211746b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7479

View File

@ -3,21 +3,20 @@
# Date created: 24 Jul, 1997
# Whom: kline
#
# $Id: Makefile,v 1.25 1997/06/25 05:24:43 torstenb Exp $
# $Id: Makefile,v 1.1.1.1 1997/07/27 03:31:33 chuckr Exp $
#
DISTNAME= enscript-1.5.0
PKGNAME= enscript-${PAPERSIZE}-1.5.0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU}
DISTFILES= enscript-1.5.0.tar.gz
MAINTAINER= kline@thought.org
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --disable-nls
MAKE_FLAGS?= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
MAKE_FLAGS= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
MAN1= enscript.1 sliceprint.1 states.1
STRIP=
@ -65,7 +64,7 @@ pre-fetch:
.elif defined(PAPERSIZE_INVALID)
@echo "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
@echo "Possible values are: A4 (default) or letter"
@/usr/bin/false
@${FALSE}
.endif
letter::
${MAKE} PAPERSIZE=Letter
@ -103,12 +102,9 @@ a4-install::
A4-install::
${MAKE} PAPERSIZE=a4 install
post-install:
.for file in enscript mkafmmap states
strip /usr/local/bin/${file}
strip ${PREFIX}/bin/${file}
.endfor
.include <bsd.port.mk>