diff options
author | ale <ale@FreeBSD.org> | 2005-11-05 17:53:29 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-11-05 17:53:29 +0800 |
commit | c04f0d356b0b88dc75d8ca4e1c20b8a6e3328f93 (patch) | |
tree | c7f5f647435951b0d47b43b1e12550b18fc2a821 /print | |
parent | 87b3cacfd5f72be59cd244d573bf31df909ca2cc (diff) | |
download | freebsd-ports-gnome-c04f0d356b0b88dc75d8ca4e1c20b8a6e3328f93.tar.gz freebsd-ports-gnome-c04f0d356b0b88dc75d8ca4e1c20b8a6e3328f93.tar.zst freebsd-ports-gnome-c04f0d356b0b88dc75d8ca4e1c20b8a6e3328f93.zip |
Respect LOCALBASE.
Spotted by: kris
Diffstat (limited to 'print')
-rw-r--r-- | print/hpijs/Makefile | 7 | ||||
-rw-r--r-- | print/hpijs/pkg-plist | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile index e30f6763aa6f..a306c372d168 100644 --- a/print/hpijs/Makefile +++ b/print/hpijs/Makefile @@ -57,12 +57,13 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin .else INSTALL_TARGET= install-exec install-foomatic -.if !defined(WITHOUT_CUPS) -INSTALL_TARGET+= install-cups -.endif .endif post-install: +.if !defined(WITHOUT_CUPS) + @${LN} -s ${PREFIX}/bin/foomatic-rip ${LOCALBASE}/libexec/cups/filter/foomatic-rip + @${LN} -s ${PREFIX}/share/ppd ${LOCALBASE}/share/cups/model/foomatic-ppds +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${DOCSDIR} diff --git a/print/hpijs/pkg-plist b/print/hpijs/pkg-plist index 2c7b2af02ba2..c40ed7eef61c 100644 --- a/print/hpijs/pkg-plist +++ b/print/hpijs/pkg-plist @@ -1,7 +1,7 @@ %%FOOMATIC%%bin/foomatic-rip +%%CUPS%%@exec /bin/ln -s %D/bin/foomatic-rip %%LOCALBASE%%/libexec/cups/filter/foomatic-rip +%%CUPS%%@unexec /bin/rm -f %%LOCALBASE%%/libexec/cups/filter/foomatic-rip bin/hpijs -%%CUPS%%libexec/cups/filter/foomatic-rip -%%CUPS%%share/cups/model/foomatic-ppds %%FOOMATIC%%share/ppd/HP/HP-2000C-hpijs.ppd.gz %%FOOMATIC%%share/ppd/HP/HP-2500C-hpijs.ppd.gz %%FOOMATIC%%share/ppd/HP/HP-2500CM-hpijs.ppd.gz @@ -424,6 +424,8 @@ bin/hpijs %%FOOMATIC%%share/ppd/HP/hp_color_LaserJet_9500.ppd.gz %%FOOMATIC%%share/ppd/HP/hp_color_LaserJet_9500_MFP.ppd.gz %%FOOMATIC%%share/ppd/HP/hp_officejet_9100_series.ppd.gz +%%CUPS%%@exec /bin/ln -s %D/share/ppd %%LOCALBASE%%/share/cups/model/foomatic-ppds +%%CUPS%%@unexec /bin/rm -f %%LOCALBASE%%/share/cups/model/foomatic-ppds %%PORTDOCS%%%%DOCSDIR%%/gs_hpijs.png %%PORTDOCS%%%%DOCSDIR%%/hpijs_readme.html %%PORTDOCS%%@dirrm %%DOCSDIR%% |