403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/print/openprinting/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/print/openprinting/Makefile
PORTNAME=	openprinting
PORTVERSION=	1.0
PORTREVISION=	5
CATEGORIES=	print net
MASTER_SITES=	SF/openprinting/papi/1.0%20Beta
DISTNAME=	papi-${PORTVERSION}_beta
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Sun's implementation of the OpenPrinting API (PAPI)
WWW=		http://openprinting.sourceforge.net/

WRKSRC=		${WRKDIR}/papi-${PORTVERSION}_beta

USES=		gettext gmake iconv libtool tar:bzip2
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
MAKE_JOBS_UNSAFE=	yes
LLD_UNSAFE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lintl

# TODO: Get mod_ipp to actually work; Sun's example seems to be broken
# under both Apache 1.3/2.0, this could be a papi issue; does not build
# w/Apache 2.2.
# TODO: Fix Apache module install target to instead use APXS
# from this file; it is intended only as an example.
# TODO: CUPS integration is broken in distfiles (missing papi_int.h).
#OPTIONS=\
#	MOD_IPP		"Build example mod_ipp.so for Apache" Off
#	PSM_CUPS	"Build psm_cups.so for printing to CUPS" Off

.include <bsd.port.options.mk>

# NOTE: This has only been tested with www/apache20, with integrated APR.
.if defined(WITH_MOD_IPP)
IGNORE=	no supported apache versions available
.else
CONFIGURE_ARGS+=--without-apache
.endif

.if defined(WITH_PSM_CUPS)
LIB_DEPENDS+=	libcups.so:print/cups
CONFIGURE_ARGS+=--with-cups=${LOCALBASE}
.else
CONFIGURE_ARGS+=--without-cups
.endif

PLIST_FILES+=\
	include/debug.h \
	include/http-private.h \
	include/http.h \
	include/ipp-listener.h \
	include/ipp.h \
	include/papi.h \
	lib/libipp-core.so \
	lib/libipp-core.so.0 \
	lib/libipp-core.so.0.0.0 \
	lib/libipp-listener.so \
	lib/libipp-listener.so.0 \
	lib/libipp-listener.so.0.0.0 \
	lib/libpapi-common.so \
	lib/libpapi-common.so.0 \
	lib/libpapi-common.so.0.0.0 \
	lib/libpapi.so \
	lib/libpapi.so.0 \
	lib/libpapi.so.0.0.0 \
	libexec/lpd-port \
	libexec/psm-ipp.so \
	libexec/psm-lpd.so \
	man/man5/psm-ipp.5.gz

.if defined(WITH_PSM_CUPS)
PLIST_FILES+=	libexec/psm-cups.so
.endif

.if defined(WITH_MOD_IPP)
PLIST_FILES+=	lib/mod_ipp.so
.endif

post-patch:
	@${REINPLACE_CMD} '/^LIBS =/s,$$, ../libpapi-common/libpapi-common.la @LIBS@,' \
		${WRKSRC}/source/bsd-sysv-commands/Makefile.in \
		${WRKSRC}/source/examples/Makefile.in
	@${REINPLACE_CMD} -e 's/-ldl//' -e 's/-lnsl//' \
		${WRKSRC}/source/libpapi-cups/Makefile.in \
		${WRKSRC}/source/libpapi-dynamic/Makefile.in

post-install:
.for unneeded in bin sbin man/man1 man/mani share
	@${RM} -r ${STAGEDIR}${PREFIX}/${unneeded}
.endfor

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit