openbsd-ports/sysutils/LPRng/Makefile

57 lines
1.7 KiB
Makefile
Raw Normal View History

1997-11-14 19:04:24 -05:00
# OpenBSD makefile for: LPRng
# Version required: 3.5.1
1997-11-14 19:04:24 -05:00
# Date created: 2 Apr 1997
# Whom: ejovi
#
2000-06-09 18:37:38 -04:00
# $OpenBSD: Makefile,v 1.13 2000/06/09 22:37:38 espie Exp $
#
1997-11-14 19:04:24 -05:00
DISTNAME= LPRng-3.6.12
CATEGORIES= sysutils print
NEED_VERSION= 1.210
1997-11-14 19:04:24 -05:00
MAINTAINER= ports@openbsd.org
1997-11-14 19:04:24 -05:00
2000-03-23 00:40:40 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/
EXTRACT_SUFX= .tgz
1997-11-14 19:04:24 -05:00
NO_CDROM= "To many copyrights/licences to verify destribution OK"
1997-11-14 19:04:24 -05:00
2000-06-09 18:37:38 -04:00
HAS_CONFIGURE= Yes
CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}' \
--sysconfdir='$${DESTDIR}${SYSCONFDIR}' \
--with-sbindir='$${DESTDIR}${PREFIX}/sbin' \
--with-filterdir='$${DESTDIR}${PREFIX}/libexec/filters' \
--with-lpd_conf_path='$${DESTDIR}${SYSCONFDIR}/lpd.conf' \
--with-lpd_perms_path='$${DESTDIR}${SYSCONFDIR}/lpd.perms' \
--with-printcap_path='$${DESTDIR}${SYSCONFDIR}/printcap'
2000-02-22 12:08:31 -05:00
MAKE_FILE= Makefile.bsd
HTMLFILES= LPRng-HOWTO-1.html LPRng-HOWTO-2.html \
LPRng-HOWTO-3.html LPRng-HOWTO-4.html \
LPRng-HOWTO-5.html LPRng-HOWTO-6.html \
LPRng-HOWTO-7.html LPRng-HOWTO-8.html \
LPRng-HOWTO-9.html LPRng-HOWTO-10.html \
LPRng-HOWTO-11.html LPRng-HOWTO-12.html \
LPRng-HOWTO-13.html LPRng-HOWTO-14.html \
LPRng-HOWTO-15.html LPRng-HOWTO.html \
LPRng.html bg.gif star1.gif
1997-11-14 19:04:24 -05:00
post-install:
${INSTALL_DATA} ${WRKSRC}/lpd.conf ${PREFIX}/lib/lpd.conf-sample
${INSTALL_DATA} ${WRKSRC}/lpd.perms ${PREFIX}/lib/lpd.perms-sample
test -f /etc/lpd.conf || ${INSTALL_DATA} ${WRKSRC}/lpd.conf /etc
test -f /etc/lpd.perms || ${INSTALL_DATA} ${WRKSRC}/lpd.perms /etc
mkdir -p ${PREFIX}/share/doc/LPRng
2000-06-09 18:37:38 -04:00
cd ${WRKSRC}/HOWTO && ${INSTALL_DATA} ${HTMLFILES} \
${PREFIX}/share/doc/LPRng
1997-11-14 19:04:24 -05:00
@cat ${PKGDIR}/MESSAGE
.include <bsd.port.mk>