mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
2deb13d2f5
PR: 192693 Proposed fix: papowell (astart.com) Final fix: Adam McDougall
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
# Created by: desmo@bandwidth.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= LPRng
|
|
PORTVERSION= 3.8.C
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils print
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}
|
|
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Enhanced Printer Spooler
|
|
|
|
LICENSE= ART10 GPLv2
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
|
|
|
|
USES= gmake
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-config_subdir="" \
|
|
--with-filterdir=${PREFIX}/libexec/filters \
|
|
--with-filter_path="${PREFIX}/bin:/bin:/usr/bin:${PREFIX}/sbin:/sbin:/usr/sbin" \
|
|
--with-printcap_path=/etc/printcap \
|
|
--with-ld_library_path="${PREFIX}/lib:/lib:/usr/lib:/${LOCALBASE}/lib"
|
|
MAKE_ARGS= INSTALLCONFIGEXAMPLES=""
|
|
USE_LDCONFIG= yes
|
|
USE_RC_SUBR= ${PORTNAME:tl}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
CONFLICTS= cups-base-1.[2-9]*
|
|
|
|
OPTIONS_DEFINE= LIBWRAP NLS
|
|
OPTIONS_DEFAULT= LIBWRAP
|
|
OPTIONS_SUB= yes
|
|
|
|
LIBWRAP_CONFIGURE_ENABLE= tcpwrappers
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_CONFIGURE_ENV= gt_cv_func_gnugettext1_libc=yes \
|
|
ac_cv_func_ngettext=yes
|
|
NLS_LDFLAGS= -lintl
|
|
|
|
post-install:
|
|
.for i in lpd.perms printcap
|
|
(cd ${WRKSRC}/conf && $ ${INSTALL_DATA} ${i} \
|
|
${STAGEDIR}/${PREFIX}/etc/${i}.sample)
|
|
.endfor
|
|
.for i in lpd.conf
|
|
(cd ${WRKSRC}/src && $ ${INSTALL_DATA} ${i} \
|
|
${STAGEDIR}/${PREFIX}/etc/${i}.sample)
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|