Sat May 16 16:59:24 2020 UTC ()
print/hplip: clean up and adjust hard-coded paths in SUBST_FILES


(rillig)
diff -r1.88 -r1.89 pkgsrc/print/hplip/Makefile

cvs diff -r1.88 -r1.89 pkgsrc/print/hplip/Makefile (switch to unified diff)

--- pkgsrc/print/hplip/Makefile 2020/03/10 22:10:52 1.88
+++ pkgsrc/print/hplip/Makefile 2020/05/16 16:59:24 1.89
@@ -1,185 +1,185 @@ @@ -1,185 +1,185 @@
1# $NetBSD: Makefile,v 1.88 2020/03/10 22:10:52 wiz Exp $ 1# $NetBSD: Makefile,v 1.89 2020/05/16 16:59:24 rillig Exp $
2 2
3DISTNAME= hplip-3.19.12 3DISTNAME= hplip-3.19.12
4PKGREVISION= 3 4PKGREVISION= 4
5CATEGORIES= print 5CATEGORIES= print
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hplip/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hplip/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://hplipopensource.com/ 9HOMEPAGE= http://hplipopensource.com/
10COMMENT= HP Linux Imaging and Printing 10COMMENT= HP Linux Imaging and Printing
11LICENSE= gnu-gpl-v2 AND mit AND modified-bsd 11LICENSE= gnu-gpl-v2 AND mit AND modified-bsd
12 12
13CONFLICTS+= hpijs-[0-9]* 13CONFLICTS+= hpijs-[0-9]*
14 14
15DEPENDS+= wget-[0-9]*:../../net/wget 15DEPENDS+= wget-[0-9]*:../../net/wget
16 16
17FILES_SUBST+= CUPS_USER=${CUPS_USER} 17FILES_SUBST+= CUPS_USER=${CUPS_USER}
18FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} 18FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP}
19 19
20PKG_GROUPS_VARS+= CUPS_GROUP 20PKG_GROUPS_VARS+= CUPS_GROUP
21PKG_USERS_VARS+= CUPS_USER 21PKG_USERS_VARS+= CUPS_USER
22 22
23BUILD_DEFS+= CUPS_USER CUPS_GROUP VARBASE 23BUILD_DEFS+= CUPS_USER CUPS_GROUP VARBASE
24 24
25USE_LIBTOOL= yes 25USE_LIBTOOL= yes
26USE_LANGUAGES= c c++ 26USE_LANGUAGES= c c++
27USE_TOOLS+= aclocal autoconf automake gmake pkg-config 27USE_TOOLS+= aclocal autoconf automake gmake pkg-config
28USE_TOOLS+= perl:run 28USE_TOOLS+= perl:run
29GNU_CONFIGURE= yes 29GNU_CONFIGURE= yes
30CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 30CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
31CONFIGURE_ARGS+= --localstatedir=${VARBASE} 31CONFIGURE_ARGS+= --localstatedir=${VARBASE}
32CONFIGURE_ARGS+= --with-cupsbackenddir=${PREFIX}/libexec/cups/backend 32CONFIGURE_ARGS+= --with-cupsbackenddir=${PREFIX}/libexec/cups/backend
33CONFIGURE_ARGS+= --with-cupsfilterdir=${PREFIX}/libexec/cups/filter 33CONFIGURE_ARGS+= --with-cupsfilterdir=${PREFIX}/libexec/cups/filter
34CONFIGURE_ARGS+= --with-hpppddir=${PREFIX}/share/hplip/ppd/HP 34CONFIGURE_ARGS+= --with-hpppddir=${PREFIX}/share/hplip/ppd/HP
35CONFIGURE_ARGS+= --enable-network-build 35CONFIGURE_ARGS+= --enable-network-build
36CONFIGURE_ARGS+= --disable-pp-build 36CONFIGURE_ARGS+= --disable-pp-build
37CONFIGURE_ARGS+= --enable-hpcups-install 37CONFIGURE_ARGS+= --enable-hpcups-install
38CONFIGURE_ARGS+= --enable-cups-drv-install 38CONFIGURE_ARGS+= --enable-cups-drv-install
39CONFIGURE_ARGS+= --enable-cups-ppd-install 39CONFIGURE_ARGS+= --enable-cups-ppd-install
40# deprecated options 40# deprecated options
41CONFIGURE_ARGS+= --enable-hpijs-install 41CONFIGURE_ARGS+= --enable-hpijs-install
42CONFIGURE_ARGS+= --enable-foomatic-drv-install 42CONFIGURE_ARGS+= --enable-foomatic-drv-install
43CONFIGURE_ARGS+= --enable-foomatic-ppd-install 43CONFIGURE_ARGS+= --enable-foomatic-ppd-install
44CONFIGURE_ARGS+= --enable-foomatic-rip-hplip-install 44CONFIGURE_ARGS+= --enable-foomatic-rip-hplip-install
45 45
46EGDIR= ${PREFIX}/share/examples/${PKGBASE} 46EGDIR= ${PREFIX}/share/examples/${PKGBASE}
47EGFILES= hp/hplip.conf 47EGFILES= hp/hplip.conf
48 48
49INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} 49INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS}
50INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} 50INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
51INSTALL_MAKE_FLAGS+= localstatedir=${EGDIR} 51INSTALL_MAKE_FLAGS+= localstatedir=${EGDIR}
52INSTALL_MAKE_FLAGS+= systraydir=${EGDIR}/xdg/autostart 52INSTALL_MAKE_FLAGS+= systraydir=${EGDIR}/xdg/autostart
53INSTALL_MAKE_FLAGS+= mimedir=${EGDIR}/cups 53INSTALL_MAKE_FLAGS+= mimedir=${EGDIR}/cups
54 54
55OWN_DIRS+= ${PKG_SYSCONFDIR}/hp 55OWN_DIRS+= ${PKG_SYSCONFDIR}/hp
56OWN_DIRS+= ${VARBASE}/lib/hp 56OWN_DIRS+= ${VARBASE}/lib/hp
57OWN_DIRS+= ${PREFIX}/share/examples/hplip/log/hp 57OWN_DIRS+= ${PREFIX}/share/examples/hplip/log/hp
58OWN_DIRS_PERMS+= ${PREFIX}/share/examples/hplip/log/hp ${CUPS_USER} ${CUPS_GROUP} 0774 58OWN_DIRS_PERMS+= ${PREFIX}/share/examples/hplip/log/hp ${CUPS_USER} ${CUPS_GROUP} 0774
59 59
60PLIST_SRC= PLIST.base 60PLIST_SRC= PLIST.base
61 61
62.include "options.mk" 62.include "options.mk"
63 63
64.for file in ${EGFILES} 64.for file in ${EGFILES}
65CONF_FILES+= ${EGDIR}/${file} ${PKG_SYSCONFDIR}/${file} 65CONF_FILES+= ${EGDIR}/${file} ${PKG_SYSCONFDIR}/${file}
66.endfor 66.endfor
67CONF_FILES+= 67CONF_FILES+=
68 68
69REPLACE_PYTHON= *.py */*.py */*/*.py 69REPLACE_PYTHON= *.py */*.py */*/*.py
70REPLACE_PYTHON+= fax/filters/pstotiff 70REPLACE_PYTHON+= fax/filters/pstotiff
71REPLACE_PYTHON+= prnt/filters/hpps 71REPLACE_PYTHON+= prnt/filters/hpps
72REPLACE_PERL= prnt/hpijs/foomatic-rip-hplip 72REPLACE_PERL= prnt/hpijs/foomatic-rip-hplip
73 73
74PY_PATCHPLIST= yes 74PY_PATCHPLIST= yes
75 75
76SUBST_CLASSES+= fix-python 76SUBST_CLASSES+= fix-python
77SUBST_STAGE.fix-python= post-configure 77SUBST_STAGE.fix-python= post-configure
78SUBST_MESSAGE.fix-python= Fixing python invocations in Python files. 78SUBST_MESSAGE.fix-python= Fixing python invocations in Python files.
79SUBST_FILES.fix-python= check.py scan.py setup.py 79SUBST_FILES.fix-python= check.py setup.py
80SUBST_FILES.fix-python+= base/utils.py base/pkit.py 80SUBST_FILES.fix-python+= base/utils.py base/pkit.py
81SUBST_FILES.fix-python+= installer/core_install.py 81SUBST_FILES.fix-python+= installer/core_install.py
82SUBST_FILES.fix-python+= ui/nodevicesform.py ui/devmgr4.py 82SUBST_FILES.fix-python+= ui/nodevicesform.py ui/devmgr4.py
83SUBST_FILES.fix-python+= ui4/nodevicesdialog.py ui4/devmgr5.py 83SUBST_FILES.fix-python+= ui4/nodevicesdialog.py ui4/devmgr5.py
84SUBST_SED.fix-python= -e 's,\(['\''"]\)python ,\1${PYTHONBIN} ,g' 84SUBST_SED.fix-python= -e 's,\(['\''"]\)python ,\1${PYTHONBIN} ,g'
85 85
86SUBST_CLASSES+= fix-paths-0 86SUBST_CLASSES+= fix-paths-0
87SUBST_STAGE.fix-paths-0= pre-configure 87SUBST_STAGE.fix-paths-0= pre-configure
88SUBST_MESSAGE.fix-paths-0= Fixing /var/run in hplip.conf.in. 88SUBST_MESSAGE.fix-paths-0= Fixing /var/run in hplip.conf.in.
89SUBST_FILES.fix-paths-0= hplip.conf.in 89SUBST_FILES.fix-paths-0= hplip.conf.in
90SUBST_SED.fix-paths-0= -e 's,run=/var/run,run=${VARBASE}/run,g' 90SUBST_SED.fix-paths-0= -e 's,run=/var/run,run=${VARBASE}/run,g'
91 91
92SUBST_CLASSES+= fix-paths-1 92SUBST_CLASSES+= fix-paths-1
93SUBST_STAGE.fix-paths-1= post-configure 93SUBST_STAGE.fix-paths-1= post-configure
94SUBST_MESSAGE.fix-paths-1= Fixing paths in Python installer files. 94SUBST_MESSAGE.fix-paths-1= Fixing paths in Python installer files.
95SUBST_FILES.fix-paths-1= installer/core_install.py 95SUBST_FILES.fix-paths-1= installer/core_install.py
96SUBST_FILES.fix-paths-1+= installer/dcheck.py 96SUBST_FILES.fix-paths-1+= installer/dcheck.py
97SUBST_SED.fix-paths-1= -e 's,\([ '\''"=]\)/usr,\1${PREFIX},g' 97SUBST_SED.fix-paths-1= -e 's,\([ '\''"=]\)/usr,\1${PREFIX},g'
98SUBST_SED.fix-paths-1+= -e 's,"/etc/PolicyKit,"${PKG_SYSCONFDIR}/PolicyKit,g' 98SUBST_SED.fix-paths-1+= -e 's,"/etc/PolicyKit,"${PKG_SYSCONFDIR}/PolicyKit,g'
99SUBST_SED.fix-paths-1+= -e 's,"/etc/polkit-1,"${PKG_SYSCONFDIR}/polkit-1,g' 99SUBST_SED.fix-paths-1+= -e 's,"/etc/polkit-1,"${PKG_SYSCONFDIR}/polkit-1,g'
100SUBST_SED.fix-paths-1+= -e 's,"file:///etc/hp,"file://${PKG_SYSCONFDIR}/hp,g' 100SUBST_SED.fix-paths-1+= -e 's,"file:///etc/hp,"file://${PKG_SYSCONFDIR}/hp,g'
101SUBST_SED.fix-paths-1+= -e 's,"/usr/lib/cups/driver,"${PREFIX}/libexec/cups/driver,g' 101SUBST_SED.fix-paths-1+= -e 's,"/usr/lib/cups/driver,"${PREFIX}/libexec/cups/driver,g'
102 102
103SUBST_CLASSES+= fix-paths-2 103SUBST_CLASSES+= fix-paths-2
104SUBST_STAGE.fix-paths-2= post-configure 104SUBST_STAGE.fix-paths-2= post-configure
105SUBST_MESSAGE.fix-paths-2= Fixing /etc and /var paths in Python and C++ files. 105SUBST_MESSAGE.fix-paths-2= Fixing /etc and /var paths in Python and C++ files.
106SUBST_FILES.fix-paths-2= check.py base/codes.py base/g.py base/utils.py 106SUBST_FILES.fix-paths-2= check.py base/codes.py base/g.py base/utils.py
107SUBST_FILES.fix-paths-2+= base/codes.py base/g.py base/queues.py base/utils.py 107SUBST_FILES.fix-paths-2+= base/queues.py installer/core_install.py
108SUBST_FILES.fix-paths-2+= installer/core_install.py 
109SUBST_FILES.fix-paths-2+= fax/backend/hpfax.py prnt/cups.py 108SUBST_FILES.fix-paths-2+= fax/backend/hpfax.py prnt/cups.py
110SUBST_FILES.fix-paths-2+= ui/devmgr4.py ui4/devmgr5.py 109SUBST_FILES.fix-paths-2+= ui/devmgr4.py ui4/devmgr5.py
111SUBST_FILES.fix-paths-2+= prnt/filters/hpps 110SUBST_FILES.fix-paths-2+= prnt/filters/hpps
112SUBST_FILES.fix-paths-2+= prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/Utils.cpp 
113SUBST_FILES.fix-paths-2+= prnt/hpijs/globals.cpp prnt/hpijs/hpcupsfax.cpp 111SUBST_FILES.fix-paths-2+= prnt/hpijs/globals.cpp prnt/hpijs/hpcupsfax.cpp
114SUBST_FILES.fix-paths-2+= prnt/hpijs/hpijs.cpp 112SUBST_FILES.fix-paths-2+= prnt/hpijs/hpijs.cpp
 113SUBST_FILES.fix-paths-2+= prnt/hpps/hppsfilter.c # /etc/cups/cupsd.conf
 114SUBST_FILES.fix-paths-2+= common/utils.c # /etc/cups/cupsd.conf
115SUBST_SED.fix-paths-2= -e 's,\([ '\''"=]\)/etc/hp,\1${PKG_SYSCONFDIR}/hp,g' 115SUBST_SED.fix-paths-2= -e 's,\([ '\''"=]\)/etc/hp,\1${PKG_SYSCONFDIR}/hp,g'
116SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/etc/cups,\1${PKG_SYSCONFDIR}/cups,g' 116SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/etc/cups,\1${PKG_SYSCONFDIR}/cups,g'
117SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/etc/sane.d,\1${PKG_SYSCONFDIR}/sane.d,g' 117SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/etc/sane.d,\1${PKG_SYSCONFDIR}/sane.d,g'
118SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/var/lib/hp,\1${VARBASE}/lib/hp,g' 118SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/var/lib/hp,\1${VARBASE}/lib/hp,g'
119SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/var/log/cups,\1${VARBASE}/log/cups,g' 119SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/var/log/cups,\1${VARBASE}/log/cups,g'
120SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/var/spool/cups,\1${VARBASE}/spool/cups,g' 120SUBST_SED.fix-paths-2+= -e 's,\([ '\''"=]\)/var/spool/cups,\1${VARBASE}/spool/cups,g'
121 121
122SUBST_CLASSES+= fix-paths-3 122SUBST_CLASSES+= fix-paths-3
123SUBST_STAGE.fix-paths-3= post-configure 123SUBST_STAGE.fix-paths-3= post-configure
124SUBST_MESSAGE.fix-paths-3= Fixing additional paths in base/pkit.py. 124SUBST_MESSAGE.fix-paths-3= Fixing additional paths in base/pkit.py.
125SUBST_FILES.fix-paths-3= base/pkit.py 125SUBST_FILES.fix-paths-3= base/pkit.py
126SUBST_SED.fix-paths-3= -e 's,\([ '\''"=]\)/usr,\1${PREFIX},g' 126SUBST_SED.fix-paths-3= -e 's,\([ '\''"=]\)/usr,\1${PREFIX},g'
127 127
128SUBST_CLASSES+= fix-paths-4 128SUBST_CLASSES+= fix-paths-4
129SUBST_STAGE.fix-paths-4= post-configure 129SUBST_STAGE.fix-paths-4= post-configure
130SUBST_MESSAGE.fix-paths-4= Fixing default PPD search path in base/g.py and prnt/cups.py. 130SUBST_MESSAGE.fix-paths-4= Fixing default PPD search path in base/g.py and prnt/cups.py.
131SUBST_FILES.fix-paths-4= base/g.py prnt/cups.py 131SUBST_FILES.fix-paths-4= base/g.py prnt/cups.py
132SUBST_SED.fix-paths-4= -e '\,ppd_search_path =, { s,/usr/\([a-z]*\);,/usr/\1;${PREFIX}/\1;,g ; }' 132SUBST_SED.fix-paths-4= -e '\,ppd_search_path =, { s,/usr/\([a-z]*\);,/usr/\1;${PREFIX}/\1;,g ; }'
133SUBST_SED.fix-paths-4+= -e 's,\([ '\''"=]\)/usr/share/ppd,\1${PREFIX}/share/ppd,g' 133SUBST_SED.fix-paths-4+= -e 's,\([ '\''"=]\)/usr/share/ppd,\1${PREFIX}/share/ppd,g'
134 134
135SUBST_CLASSES+= fix-paths-5 135SUBST_CLASSES+= fix-paths-5
136SUBST_STAGE.fix-paths-5= post-configure 136SUBST_STAGE.fix-paths-5= post-configure
137SUBST_MESSAGE.fix-paths-5= Fixing paths in prnt/hpijs/foomatic-rip-hplip. 137SUBST_MESSAGE.fix-paths-5= Fixing paths in prnt/hpijs/foomatic-rip-hplip.
138SUBST_FILES.fix-paths-5= prnt/hpijs/foomatic-rip-hplip 138SUBST_FILES.fix-paths-5= prnt/hpijs/foomatic-rip-hplip
139SUBST_SED.fix-paths-5= -e 's,\([ '\''"=]\)/etc/cups,\1${PKG_SYSCONFDIR}/cups,g' 139SUBST_SED.fix-paths-5= -e 's,\([ '\''"=]\)/etc/cups,\1${PKG_SYSCONFDIR}/cups,g'
140SUBST_SED.fix-paths-5+= -e 's,\([ '\''"=]\)/etc/foomatic,\1${PKG_SYSCONFDIR}/foomatic,g' 140SUBST_SED.fix-paths-5+= -e 's,\([ '\''"=]\)/etc/foomatic,\1${PKG_SYSCONFDIR}/foomatic,g'
141SUBST_SED.fix-paths-5+= -e 's,\([ '\''"=]\)/var/spool,\1${VARBASE}/spool,g' 141SUBST_SED.fix-paths-5+= -e 's,\([ '\''"=]\)/var/spool,\1${VARBASE}/spool,g'
142SUBST_SED.fix-paths-5+= -e 's,prefix = "/usr",prefix = "${PREFIX}",g' 142SUBST_SED.fix-paths-5+= -e 's,prefix = "/usr",prefix = "${PREFIX}",g'
143SUBST_SED.fix-paths-5+= -e 's,\(path = "/usr/bin:\),\1${PREFIX}/bin:,g' 143SUBST_SED.fix-paths-5+= -e 's,\(path = "/usr/bin:\),\1${PREFIX}/bin:,g'
144SUBST_SED.fix-paths-5+= -e 's,\(path = "/usr/lib/cups/filter:\),\1${PREFIX}/libexec/cups/filter:,g' 144SUBST_SED.fix-paths-5+= -e 's,\(path = "/usr/lib/cups/filter:\),\1${PREFIX}/libexec/cups/filter:,g'
145SUBST_SED.fix-paths-5+= -e '\,} elsif (-r "/usr/share/ppr, { N ; p ; s,"/usr,"${PREFIX},g ; }' 145SUBST_SED.fix-paths-5+= -e '\,} elsif (-r "/usr/share/ppr, { N ; p ; s,"/usr,"${PREFIX},g ; }'
146 146
147SUBST_CLASSES+= fix-paths-6 147SUBST_CLASSES+= fix-paths-6
148SUBST_STAGE.fix-paths-6= post-configure 148SUBST_STAGE.fix-paths-6= post-configure
149SUBST_MESSAGE.fix-paths-6= Fixing paths in fax/filters/pstotiff. 149SUBST_MESSAGE.fix-paths-6= Fixing paths in fax/filters/pstotiff.
150SUBST_FILES.fix-paths-6= fax/filters/pstotiff 150SUBST_FILES.fix-paths-6= fax/filters/pstotiff
151SUBST_SED.fix-paths-6= -e 's,"-I/usr/share/cups/fonts","-I${PREFIX}/share/cups/fonts",g' 151SUBST_SED.fix-paths-6= -e 's,"-I/usr/share/cups/fonts","-I${PREFIX}/share/cups/fonts",g'
152SUBST_SED.fix-paths-6+= -e 's,"/usr/bin/gs","${PREFIX}/bin/gs",g' 152SUBST_SED.fix-paths-6+= -e 's,"/usr/bin/gs","${PREFIX}/bin/gs",g'
153 153
154# NetBSD has strnlen(3) since 5.99.12 154# NetBSD has strnlen(3) since 5.99.12
155.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M5.99.*) && empty(OS_VERSION:M[6-9].*) 155.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M5.99.*) && empty(OS_VERSION:M[6-9].*)
156SUBST_CLASSES+= fix-strnlen 156SUBST_CLASSES+= fix-strnlen
157SUBST_STAGE.fix-strnlen= post-configure 157SUBST_STAGE.fix-strnlen= post-configure
158SUBST_MESSAGE.fix-strnlen= Replacing strnlen() with strlen() in two C++ files. 158SUBST_MESSAGE.fix-strnlen= Replacing strnlen() with strlen() in two C++ files.
159SUBST_FILES.fix-strnlen= prnt/hpijs/context2.cpp prnt/hpijs/ljzjscolor.cpp 159SUBST_FILES.fix-strnlen= prnt/hpijs/context2.cpp prnt/hpijs/ljzjscolor.cpp
160SUBST_SED.fix-strnlen= -e 's/\([ (]\)strnlen(\([^,]*\), DevIDBuffSize)/\1strlen(\2)/g' 160SUBST_SED.fix-strnlen= -e 's/\([ (]\)strnlen(\([^,]*\), DevIDBuffSize)/\1strlen(\2)/g'
161.endif 161.endif
162 162
163.include "../../mk/dlopen.buildlink3.mk" 163.include "../../mk/dlopen.buildlink3.mk"
164BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} 164BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
165 165
166pre-configure: 166pre-configure:
167 cd ${WRKSRC} && aclocal && automake --add-missing --foreign && autoconf 167 cd ${WRKSRC} && aclocal && automake --add-missing --foreign && autoconf
168 168
169INSTALLATION_DIRS+= share/cups/model 169INSTALLATION_DIRS+= share/cups/model
170 170
171post-install: 171post-install:
172 ${CHMOD} a-x ${DESTDIR}${PREFIX}/share/hplip/__init__.py 172 ${CHMOD} a-x ${DESTDIR}${PREFIX}/share/hplip/__init__.py
173 ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/hplip 173 ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/hplip
174 ${LN} -s ../../../share/hplip/ppd ${DESTDIR}${PREFIX}/share/cups/model/hplip-ppds 174 ${LN} -s ../../../share/hplip/ppd ${DESTDIR}${PREFIX}/share/cups/model/hplip-ppds
175 175
176.include "../../lang/python/application.mk" 176.include "../../lang/python/application.mk"
177.include "../../lang/python/extension.mk" 177.include "../../lang/python/extension.mk"
178.include "../../mk/jpeg.buildlink3.mk" 178.include "../../mk/jpeg.buildlink3.mk"
179.include "../../net/net-snmp/buildlink3.mk" 179.include "../../net/net-snmp/buildlink3.mk"
180.include "../../print/cups-base/buildlink3.mk" 180.include "../../print/cups-base/buildlink3.mk"
181.include "../../print/ghostscript/buildlink3.mk" 181.include "../../print/ghostscript/buildlink3.mk"
182.include "../../devel/libusb1/buildlink3.mk" 182.include "../../devel/libusb1/buildlink3.mk"
183.include "../../security/openssl/buildlink3.mk" 183.include "../../security/openssl/buildlink3.mk"
184.include "../../mk/pthread.buildlink3.mk" 184.include "../../mk/pthread.buildlink3.mk"
185.include "../../mk/bsd.pkg.mk" 185.include "../../mk/bsd.pkg.mk"