Lines 34-40
Link Here
|
34 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DSOFLAGS="${DSOFLAGS}" |
34 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DSOFLAGS="${DSOFLAGS}" |
35 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
35 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
36 |
CONFIGURE_ARGS+= --localstatedir=/var \ |
36 |
CONFIGURE_ARGS+= --localstatedir=/var \ |
37 |
--disable-pam \ |
|
|
38 |
--disable-slp \ |
37 |
--disable-slp \ |
39 |
--disable-gssapi \ |
38 |
--disable-gssapi \ |
40 |
--with-cups-user=${CUPSOWN} \ |
39 |
--with-cups-user=${CUPSOWN} \ |
Lines 46-54
Link Here
|
46 |
--with-domainsocket=${CUPS_SOCKET} |
45 |
--with-domainsocket=${CUPS_SOCKET} |
47 |
|
46 |
|
48 |
OPTIONS= GNUTLS "Build with GNUTLS library" on \ |
47 |
OPTIONS= GNUTLS "Build with GNUTLS library" on \ |
|
|
48 |
LIBPAPER "Build with libpaper support" off \ |
49 |
PAM "Build with PAM support" on \ |
49 |
PHP "Build PHP support" off \ |
50 |
PHP "Build PHP support" off \ |
50 |
PYTHON "Build PYTHON support" off \ |
51 |
PYTHON "Build PYTHON support" off |
51 |
LIBPAPER "Build with libpaper support" off |
|
|
52 |
|
52 |
|
53 |
CUPS_ETCDIR= ${PREFIX}/etc/cups |
53 |
CUPS_ETCDIR= ${PREFIX}/etc/cups |
54 |
CUPS_SPOOLDIR= /var/spool/cups |
54 |
CUPS_SPOOLDIR= /var/spool/cups |
Lines 76-81
Link Here
|
76 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
76 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
77 |
.endif |
77 |
.endif |
78 |
|
78 |
|
|
|
79 |
.if defined(WITH_LIBPAPER) |
80 |
CONFIGURE_ARGS+= --enable-libpaper |
81 |
LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper |
82 |
.endif |
83 |
|
84 |
.if !defined(WITHOUT_PAM) |
85 |
CONFIGURE_ARGS+= --enable-pam |
86 |
.else |
87 |
CONFIGURE_ARGS+= --disable-pam |
88 |
.endif |
89 |
|
79 |
.if defined(WITH_PHP) |
90 |
.if defined(WITH_PHP) |
80 |
CONFIGURE_ARGS+= --with-php |
91 |
CONFIGURE_ARGS+= --with-php |
81 |
USE_PHP= yes |
92 |
USE_PHP= yes |
Lines 90-100
Link Here
|
90 |
CONFIGURE_ARGS+= --with-python |
101 |
CONFIGURE_ARGS+= --with-python |
91 |
USE_PYTHON= yes |
102 |
USE_PYTHON= yes |
92 |
.include "${PORTSDIR}/Mk/bsd.python.mk" |
103 |
.include "${PORTSDIR}/Mk/bsd.python.mk" |
93 |
.endif |
|
|
94 |
|
95 |
.if defined(WITH_LIBPAPER) |
96 |
CONFIGURE_ARGS+= --enable-libpaper |
97 |
LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper |
98 |
.endif |
104 |
.endif |
99 |
|
105 |
|
100 |
MAN1EXT= 1 |
106 |
MAN1EXT= 1 |