Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
PORTNAME= system-config-printer |
5 |
PORTNAME= system-config-printer |
6 |
PORTVERSION= 1.4.2 |
6 |
PORTVERSION= 1.4.2 |
7 |
PORTREVISION= 2 |
7 |
PORTREVISION= 3 |
8 |
CATEGORIES= print gnome |
8 |
CATEGORIES= print gnome |
9 |
MASTER_SITES= http://cyberelk.net/tim/data/${PORTNAME}/${PORTVERSION:R}/ |
9 |
MASTER_SITES= http://cyberelk.net/tim/data/${PORTNAME}/${PORTVERSION:R}/ |
10 |
|
10 |
|
Lines 18-27
Link Here
|
18 |
${PYTHON_SITELIBDIR}/pycurl.so:${PORTSDIR}/ftp/py-curl \ |
18 |
${PYTHON_SITELIBDIR}/pycurl.so:${PORTSDIR}/ftp/py-curl \ |
19 |
${LOCALBASE}/libexec/cups-pk-helper-mechanism:${PORTSDIR}/print/cups-pk-helper |
19 |
${LOCALBASE}/libexec/cups-pk-helper-mechanism:${PORTSDIR}/print/cups-pk-helper |
20 |
|
20 |
|
21 |
USE_PYTHON= yes |
|
|
22 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
23 |
USES= desktop-file-utils gettext gmake pathfix pkgconfig shebangfix \ |
22 |
USES= desktop-file-utils gettext gmake pathfix pkgconfig python \ |
24 |
tar:xz |
23 |
shebangfix tar:xz |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
27 |
USE_GNOME= intlhack pygobject3 |
26 |
USE_GNOME= intlhack pygobject3 |
Lines 33-39
Link Here
|
33 |
|
32 |
|
34 |
SHEBANG_FILES= *.py troubleshoot/*.py xml/validate.py |
33 |
SHEBANG_FILES= *.py troubleshoot/*.py xml/validate.py |
35 |
|
34 |
|
36 |
INSTALLS_EGGINFO= yes |
|
|
37 |
PYDISTUTILS_PKGNAME= cupshelpers |
35 |
PYDISTUTILS_PKGNAME= cupshelpers |
38 |
PYDISTUTILS_PKGVERSION= 1.0 |
36 |
PYDISTUTILS_PKGVERSION= 1.0 |
39 |
|
37 |
|
Lines 45-51
Link Here
|
45 |
${WRKSRC}/cupshelpers/xmldriverprefs.py \ |
43 |
${WRKSRC}/cupshelpers/xmldriverprefs.py \ |
46 |
${WRKSRC}/dbus/org.fedoraproject.Config.Printing.service \ |
44 |
${WRKSRC}/dbus/org.fedoraproject.Config.Printing.service \ |
47 |
${WRKSRC}/newprinter.py ${WRKSRC}/probe_printer.py |
45 |
${WRKSRC}/newprinter.py ${WRKSRC}/probe_printer.py |
48 |
@${REINPLACE_CMD} -e 's|setup.py install|setup.py install -c -O1|g' \ |
46 |
@${REINPLACE_CMD} -e 's|setup.py install.*|setup.py install -c -O1 --prefix=${PREFIX} --root=${STAGEDIR}|g' \ |
49 |
${WRKSRC}/Makefile.in |
47 |
${WRKSRC}/Makefile.in |
50 |
|
48 |
|
51 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |