401e992892
o remove ignored CONFIGURE_ARGS+=--sysconfdir=/lib o add post-install step that calls the INSTALL script o add install script to copy the sample config file to /etc only if there is no existing config in /etc o add deinstall script to remind the user to remove /etc/enscript.conf o add patch to install config as /lib/enscript.cfg-sample even though the config dir is /etc o test installation and de-installation from source o test installation from package
19 lines
372 B
Makefile
19 lines
372 B
Makefile
# $OpenBSD: Makefile,v 1.3 1999/04/03 09:12:57 marc Exp $
|
|
#
|
|
|
|
DISTNAME= enscript-1.6.1
|
|
CATEGORIES= print
|
|
|
|
MAINTAINER= marc@openbsd.org
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= enscript
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-media=Letter
|
|
|
|
post-install:
|
|
@PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|