# New ports collection makefile for: hplip # Date created: 1 April 2006 # Whom: amistry@am-productions.biz # # $FreeBSD$ # PORTNAME= hplip PORTVERSION= 3.9.8 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Drivers and utilities for HP Printers and All-in-One devices LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \ sane.1:${PORTSDIR}/graphics/sane-backends \ cups.2:${PORTSDIR}/print/cups-base \ dbus-1.3:${PORTSDIR}/devel/dbus \ netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp BUILD_DEPENDS= ppdc:${PORTSDIR}/print/cupsddk RUN_DEPENDS= ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 \ espgs:${PORTSDIR}/print/cups-pstoraster \ foomatic-rip:${PORTSDIR}/print/foomatic-filters \ mDNSClientPosix:${PORTSDIR}/net/mDNSResponder LATEST_LINK= ${PORTNAME}3 CONFLICTS= hpijs-[0-9]* hplip-2* GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-pp-build \ --enable-foomatic-ppd-install \ --enable-foomatic-rip-hplip-install \ --enable-hpijs-install \ --with-icondir=${LOCALBASE}/share/applications \ --with-cupsbackenddir=${LOCALBASE}/libexec/cups/backend \ --with-cupsfilterdir=${LOCALBASE}/libexec/cups/filter \ --with-drvdir=${LOCALBASE}/libexec/cups/driver \ --with-hppddir=${LOCALBASE}/share/ppd/HP USE_LDCONFIG= yes USE_GHOSTSCRIPT_RUN= yes USE_PYTHON= 25+ USE_RC_SUBR= hpssd MAKE_JOBS_SAFE= yes SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" OPTIONS= GUI "build with Python QT" on \ DBUS "dbus support" on \ XSANE "build xsane scanner app" on PLIST_SUB+= PORTVERSION=${PORTVERSION} IJSVER=2.7.4 .include .if ${OSVERSION} < 800069 LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb .endif .if !defined(WITHOUT_GUI) USE_QT_VER= 4 QT_COMPONENTS= gui CONFIGURE_ARGS+=--enable-qt4 RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui LIB_DEPENDS+= pyglib-2.0:${PORTSDIR}/devel/py-gobject .endif .if !defined(WITHOUT_DBUS) RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus \ ${PYTHON_SITELIBDIR}/dbus/mainloop/qt.so:${PORTSDIR}/devel/py-qt4-dbus .endif .if !defined(WITHOUT_XSANE) RUN_DEPENDS+= xsane:${PORTSDIR}/graphics/xsane .endif .if defined(NOPORTDOCS) CONFIGURE_ARGS+= --enable-doc-build=no .endif post-patch: @${REINPLACE_CMD} -e 's|/etc/hp|${LOCALBASE}/etc/hp|g ; \ s|/etc/sane.d|${LOCALBASE}/etc/sane.d|g' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in \ ${WRKSRC}/check.py ${WRKSRC}/hpssd.py \ ${WRKSRC}/base/g.py ${WRKSRC}/fax/backend/hpfax.py \ ${WRKSRC}/installer/distros.dat \ ${WRKSRC}/installer/core_install.py \ ${WRKSRC}/prnt/hpijs/ljzjs.cpp \ ${WRKSRC}/prnt/hpijs/globals.cpp \ ${WRKSRC}/ui/devmgr4.py \ ${WRKSRC}/ui4/devmgr5.py @${REINPLACE_CMD} -e 's|/etc/dbus-1/system.d|${LOCALBASE}/etc/dbus-1/system.d|g ; \ s|/usr/share/dbus-1/system-services|${LOCALBASE}/share/dbus-1/system-services|g' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's|/etc/xdg|${PREFIX}&|g; s|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure ${WRKSRC}/configure.in @${REINPLACE_CMD} -e 's|install-dist_prntSCRIPTS install-dist_rulesDATA|install-dist_prntSCRIPTS|g ; \ s|install-hpPROGRAMS install-hplip_confDATA|install-hpPROGRAMS|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|-ldld||g; s|-ldl||g; s|-dld||g' \ ${WRKSRC}/configure ${WRKSRC}/configure.in \ ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am \ ${WRKSRC}/aclocal.m4 @${REINPLACE_CMD} -e 's|/usr/bin/env python|${LOCALBASE}/bin/python|g' \ ${WRKSRC}/hpssd.py .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e '/install-.*install-docDATA.*install-/ s|install-docDATA||' \ ${WRKSRC}/Makefile.in .endif post-install: ${LN} -sf ${PREFIX}/share/hplip/hpssd.py ${PREFIX}/sbin/hpssd ${INSTALL_DATA} ${WRKSRC}/hplip-systray.desktop ${PREFIX}/etc/xdg/autostart/hplip-systray.desktop ${MKDIR} ${PREFIX}/etc/hp ${INSTALL_DATA} ${WRKSRC}/hplip.conf ${PREFIX}/etc/hp/hplip.conf.sample if [ ! -f ${PREFIX}/etc/hp/hplip.conf ]; then \ ${INSTALL_DATA} ${PREFIX}/etc/hp/hplip.conf.sample \ ${PREFIX}/etc/hp/hplip.conf; \ fi ${ECHO_CMD} hpaio >> ${PREFIX}/etc/sane.d/dll.conf @${CAT} ${PKGMESSAGE} .include lue='gnome-3.36'>gnome-3.36 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/devel
ModeNameSize
d---------9base148logstatsplain
d---------ElectricFence141logstatsplain
-rw-r--r--Makefile63727logstatsplainblame
d---------ORBit178logstatsplain
d---------ORBit2-reference73logstatsplain
d---------ORBit2178logstatsplain
d---------SpecTcl178logstatsplain
d---------ZendOptimizer178logstatsplain
d---------a2dev141logstatsplain
d---------aap146logstatsplain
d---------ace+tao-doc109logstatsplain
d---------ace+tao178logstatsplain
d---------ace178logstatsplain
d---------acovea-gtk178logstatsplain
d---------acovea178logstatsplain
d---------acpicatools178logstatsplain
d---------activitymail109logstatsplain
d---------adabindx178logstatsplain
d---------adabooch-doc-html146logstatsplain
d---------adabooch178logstatsplain
d---------adacurses178logstatsplain
d---------adasdl178logstatsplain
d---------adime218logstatsplain
d---------adocman178logstatsplain
d---------aegis217logstatsplain
d---------afay178logstatsplain
d---------agide178logstatsplain
d---------aifad146logstatsplain
d---------alabastra109logstatsplain
d---------ald109logstatsplain
d---------alf146logstatsplain
d---------allegro-devel218logstatsplain
d---------allegro218logstatsplain
d---------anjuta178logstatsplain
d---------antlr178logstatsplain
d---------antlrworks109logstatsplain
d---------apache-ant178logstatsplain
d---------apr-svn36logstatsplain
d---------apr178logstatsplain
d---------apr0178logstatsplain
d---------apr1178logstatsplain
d---------apr2178logstatsplain
d---------argouml178logstatsplain
d---------argp-standalone109logstatsplain
d---------argtable146logstatsplain
d---------arm-elf-binutils146logstatsplain
d---------arm-elf-gcc295178logstatsplain
d---------arm-rtems-binutils36logstatsplain
d---------arm-rtems-g7736logstatsplain
d---------arm-rtems-gcc36logstatsplain
d---------arm-rtems-gdb36logstatsplain
d---------arm-rtems-objc36logstatsplain
d---------aros-sdk178logstatsplain
d---------as31109logstatsplain
d---------asis-gpl178logstatsplain
d---------asis178logstatsplain
d---------asl178logstatsplain
d---------asmutils141logstatsplain
d---------astah-community141logstatsplain
d---------astyle109logstatsplain
d---------atlas-devel146logstatsplain
d---------atlas146logstatsplain
d---------aunit178logstatsplain
d---------autobook146logstatsplain
d---------autoconf-archive178logstatsplain
d---------autoconf-wrapper105logstatsplain
d---------autoconf213178logstatsplain
d---------autoconf261178logstatsplain
d---------autoconf262178logstatsplain
d---------autoconf267178logstatsplain
d---------autoconf268178logstatsplain
d---------autodia146logstatsplain
d---------autodist146logstatsplain
d---------autogen146logstatsplain
d---------automake-wrapper73logstatsplain
d---------automake110178logstatsplain
d---------automake14178logstatsplain
d---------automake15178logstatsplain
d---------automake16178logstatsplain
d---------automake17178logstatsplain
d---------automake18178logstatsplain
d---------automake19178logstatsplain
d---------autotools73logstatsplain
d---------avalon-framework109logstatsplain
d---------avarice146logstatsplain
d---------avltree178logstatsplain
d---------avr-binutils178logstatsplain
d---------avr-gcc-3178logstatsplain
d---------avr-gcc178logstatsplain
d---------avr-gdb178logstatsplain
d---------avr-libc187logstatsplain
d---------avra178logstatsplain
d---------avrdude146logstatsplain
d---------baz178logstatsplain
d---------bazaar-ng146logstatsplain
d---------bazaar178logstatsplain
d---------bcc212logstatsplain
d---------bcpp217logstatsplain
d---------beautifyphp141logstatsplain
d---------bglibs178logstatsplain
d---------bicyclerepair178logstatsplain
d---------bin86141logstatsplain
d---------bison146logstatsplain
d---------bisongen146logstatsplain
d---------bnf141logstatsplain
d---------bnfc146logstatsplain
d---------boaconstructor146logstatsplain
d---------boehm-gc178logstatsplain
d---------bonobo-conf178logstatsplain
d---------bonobo178logstatsplain
d---------boost-python73logstatsplain
d---------boost271logstatsplain
d---------bouml-doc146logstatsplain
d---------bouml217logstatsplain
d---------bufferpool146logstatsplain
d---------bug-buddy178logstatsplain
d---------bugzilla185logstatsplain
d---------bugzilla2185logstatsplain
d---------bugzilla3185logstatsplain
d---------buildbot146logstatsplain
d---------buildtool-doc146logstatsplain
d---------buildtool146logstatsplain
d---------bunny109logstatsplain
d---------byaccj141logstatsplain
d---------bzr-gtk146logstatsplain
d---------bzr146logstatsplain
d---------bzrtools146logstatsplain
d---------c2lib178logstatsplain
d---------c2man175logstatsplain
d---------c2mdoc105logstatsplain
d---------c4178logstatsplain
d---------c_c++_reference146logstatsplain
d---------c_parser109logstatsplain
d---------calibrator141logstatsplain
d---------callgrind178logstatsplain
d---------cbind178logstatsplain
d---------cbrowser178logstatsplain
d---------cc65178logstatsplain
d---------ccache141logstatsplain
d---------cccc141logstatsplain
d---------ccdoc141logstatsplain
d---------ccmalloc178logstatsplain
d---------ccrtp178logstatsplain
d---------cdecl141logstatsplain
d---------cdialog178logstatsplain
d---------cdk226logstatsplain
d---------cdoc146logstatsplain
d---------cedet217logstatsplain
d---------cflow178logstatsplain
d---------cflow2vcg178logstatsplain
d---------cgdb146logstatsplain
d---------cgilib178logstatsplain
d---------cgprof109logstatsplain
d---------charva141logstatsplain
d---------check178logstatsplain
d---------cil146logstatsplain
d---------cl-asdf-clisp110logstatsplain
d---------cl-asdf-sbcl110logstatsplain
d---------cl-asdf217logstatsplain
d---------cl-infix-sbcl110logstatsplain
d---------cl-infix146logstatsplain
d---------cl-port-clisp110logstatsplain
d---------cl-port-sbcl110logstatsplain
d---------cl-port178logstatsplain
d---------cl-split-sequence-clisp110logstatsplain
d---------cl-split-sequence-sbcl110logstatsplain
d---------cl-split-sequence146logstatsplain
d---------cl-uffi-sbcl110logstatsplain
d---------cl-uffi146logstatsplain
d---------clanlib178logstatsplain
d---------clig146logstatsplain
d---------clint178logstatsplain
d---------clisp-hyperspec146logstatsplain
d---------cmake146logstatsplain
d---------cmunge109logstatsplain
d---------cobf141logstatsplain
d---------cocktail178logstatsplain
d---------codeblocks141logstatsplain
d---------codeville178logstatsplain
d---------codeworker141logstatsplain
d---------cogito178logstatsplain
d---------colorer141logstatsplain
d---------commoncpp178logstatsplain
d---------compiz-bcop146logstatsplain
d---------cons-test185logstatsplain
d---------cons185logstatsplain
d---------cook178logstatsplain
d---------cpan-upload146logstatsplain
d---------cppadvio217logstatsplain
d---------cppi109logstatsplain
d---------cppunit178logstatsplain
d---------cproto109logstatsplain
d---------cross-binutils109logstatsplain
d---------cross-gcc141logstatsplain
d---------cross-gdb109logstatsplain
d---------crossvc178logstatsplain
d---------crow146logstatsplain
d---------cscope178logstatsplain
d---------cscout146logstatsplain
d---------cssc178logstatsplain
d---------cstringbuffer109logstatsplain
d---------ctags217logstatsplain
d---------cunit178logstatsplain
d---------cut146logstatsplain
d---------cutils141logstatsplain
d---------cvs+ipv6178logstatsplain
d---------cvs-devel178logstatsplain
d---------cvs-syncmail109logstatsplain
d---------cvs2cl109logstatsplain
d---------cvs2darcs109logstatsplain
d---------cvs2html109logstatsplain
d---------cvs2p4178logstatsplain
d---------cvs2svn146logstatsplain
d---------cvsadmin141logstatsplain
d---------cvsbook109logstatsplain
d---------cvschangelogbuilder109logstatsplain
d---------cvschk178logstatsplain
d---------cvsd180logstatsplain
d---------cvsdadm109logstatsplain
d---------cvsdelta109logstatsplain
d---------cvsdiff2patch109logstatsplain
d---------cvsgraph141logstatsplain
d---------cvslines141logstatsplain
d---------cvsmapfs178logstatsplain
d---------cvsmonitor185logstatsplain
d---------cvsnt178logstatsplain
d---------cvsplot109logstatsplain
d---------cvsps-devel141logstatsplain
d---------cvsps141logstatsplain
d---------cvsspam146logstatsplain
d---------cvsstat109logstatsplain
d---------cvstrac180logstatsplain
d---------cvsutils146logstatsplain
d---------cvsweb178logstatsplain
d---------cvsweb3178logstatsplain
d---------cvswrap146logstatsplain
d---------cweb217logstatsplain
d---------cxmon109logstatsplain
d---------cxref178logstatsplain
d---------cxxtest146logstatsplain
d---------darcs178logstatsplain
d---------darts146logstatsplain
d---------datadesigner178logstatsplain
d---------datadraw178logstatsplain
d---------dbus-glib178logstatsplain
d---------dbus-qt3146logstatsplain
d---------dbus-qt4146logstatsplain
d---------dbus-sharp178logstatsplain
d---------dbus217logstatsplain
d---------ddd178logstatsplain
d---------deputy178logstatsplain
d---------desktop-file-utils178logstatsplain
d---------devhelp178logstatsplain
d---------devtodo178logstatsplain
d---------dfuife-curses141logstatsplain
d---------dia2code109logstatsplain
d---------diffconvert146logstatsplain
d---------directfb178logstatsplain
d---------distcc256logstatsplain
d---------distel178logstatsplain
d---------ditrack146logstatsplain
d---------dits109logstatsplain
d---------djgpp-binutils178logstatsplain
d---------djgpp-crx178logstatsplain
d---------djgpp-gcc212logstatsplain
d---------dmake146logstatsplain
d---------dmalloc178logstatsplain
d---------doctorj109logstatsplain
d---------dotconf++178logstatsplain
d---------dotconf178logstatsplain
d---------doxygen141logstatsplain
d---------dparser141logstatsplain
d---------dprog178logstatsplain
d---------drpython178logstatsplain
d---------dumb178logstatsplain
d---------duplo109logstatsplain
d---------dwarfdump178logstatsplain
d---------e4graph178logstatsplain
d---------ebnf2yacc109logstatsplain
d---------eboxy178logstatsplain
d---------ecb146logstatsplain
d---------ecgi178logstatsplain
d---------ecos-tools178logstatsplain
d---------eet146logstatsplain
d---------egypt109logstatsplain
d---------eieio178logstatsplain
d---------eiffelstudio178logstatsplain
d---------elf109logstatsplain
d---------elfio178logstatsplain
d---------elfrc109logstatsplain
d---------elfsh178logstatsplain
d---------elftoaout141logstatsplain
d---------elib-emacs2136logstatsplain
d---------elib225logstatsplain
d---------engrave146logstatsplain
d---------entity178logstatsplain
d---------epm178logstatsplain
d---------epydoc146logstatsplain
d---------eric109logstatsplain
d---------eric4218logstatsplain
d---------eris178logstatsplain
d---------erlslang178logstatsplain
d---------error141logstatsplain
d---------esdl178logstatsplain
d---------esvn178logstatsplain
d---------etl146logstatsplain
d---------etoile-collectionkit146logstatsplain
d---------etoile-foundation146logstatsplain
d---------etoile-unitkit146logstatsplain
d---------eventxx109logstatsplain
d---------evfs146logstatsplain
d---------evolution-gconf-tools146logstatsplain
d---------excalibur-configuration109logstatsplain
d---------f77flow141logstatsplain
d---------fam178logstatsplain
d---------fampp146logstatsplain
d---------fastcrc146logstatsplain
d---------fastdep178logstatsplain
d---------fc++146logstatsplain
d---------ffcall178logstatsplain
d---------fga178logstatsplain
d---------fhist178logstatsplain
d---------fib146logstatsplain
d---------fistgen178logstatsplain
d---------flatzebra178logstatsplain
d---------flex-sdk178logstatsplain
d---------flex-sdk2178logstatsplain
d---------flex-sdk35178logstatsplain
d---------flex_compiler_shell178logstatsplain
d---------flexjson109logstatsplain
d---------flick178logstatsplain
d---------florist-gpl178logstatsplain
d---------florist178logstatsplain
d---------flowdesigner178logstatsplain
d---------flyspray219logstatsplain
d---------fnccheck178logstatsplain
d---------fnorb146logstatsplain
d---------fortran-utils178logstatsplain
d---------fortytwo-encore146logstatsplain
d---------fpc-bfd73logstatsplain
d---------fpc-fcl-async73logstatsplain
d---------fpc-fcl-base73logstatsplain
d---------fpc-fcl-db73logstatsplain
d---------fpc-fcl-fpcunit73logstatsplain
d---------fpc-fcl-image73logstatsplain
d---------fpc-fcl-net73logstatsplain
d---------fpc-fcl-passrc73logstatsplain
d---------fpc-fcl-registry73logstatsplain
d---------fpc-fcl-web73logstatsplain
d---------fpc-fcl-xml73logstatsplain
d---------fpc-fpmkunit73logstatsplain
d---------fpc-fv73logstatsplain
d---------fpc-gconf73logstatsplain
d---------fpc-gdbint73logstatsplain
d---------fpc-pthreads73logstatsplain
d---------fpc-regexpr73logstatsplain
d---------fpc-zlib73logstatsplain
d---------fpp178logstatsplain
d---------freebase142logstatsplain
d---------freelibiberty178logstatsplain
d---------freeride178logstatsplain
d---------freescope109logstatsplain
d---------frink178logstatsplain
d---------fsmgenerator109logstatsplain
d---------ftjam109logstatsplain
d---------ftnchek146logstatsplain
d---------fujaba141logstatsplain
d---------funnelweb109logstatsplain
d---------g-wrap178logstatsplain
d---------g2c141logstatsplain
d---------gaa178logstatsplain
d---------gamin217logstatsplain
d---------gaphor146logstatsplain
d---------gauche-gaunit146logstatsplain
d---------gauche-readline146logstatsplain
d---------gauche-sdl146logstatsplain
d---------gaul146logstatsplain
d---------gazpacho178logstatsplain
d---------gccmakedep109logstatsplain
d---------gccxml178logstatsplain
d---------gconf178logstatsplain
d---------gconf2-reference73logstatsplain
d---------gconf2178logstatsplain
d---------gconfmm178logstatsplain
d---------gconfmm26146logstatsplain
d---------gcvs178logstatsplain
d---------gdb53-act141logstatsplain
d---------gdb53178logstatsplain
d---------gdb6178logstatsplain
d---------gdb66178logstatsplain
d---------gdbmods109logstatsplain
d---------geany146logstatsplain
d---------generate109logstatsplain
d---------gengameng146logstatsplain