register symlink in plist instead of using @exec/@unexec
discussed with mbalmer
This commit is contained in:
parent
8fa3eb1272
commit
315c46ce8a
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2007/09/20 09:34:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2007/09/30 14:39:23 steven Exp $
|
||||
|
||||
COMMENT= Common Unix Printing System
|
||||
|
||||
VERSION= 1.2.7
|
||||
DISTNAME= cups-${VERSION}-source
|
||||
PKGNAME= ${DISTNAME:S/-source//}p7
|
||||
PKGNAME= cups-${VERSION}p8
|
||||
CATEGORIES= print sysutils
|
||||
SHARED_LIBS= cups 3.0 \
|
||||
cupsimage 2.3
|
||||
@ -97,5 +97,6 @@ post-install:
|
||||
@sed s,y0y0y0,${LOCALBASE}, < ${FILESDIR}/${file} > \
|
||||
${PREFIX}/sbin/${file}
|
||||
.endfor
|
||||
@ln -s ${TRUEPREFIX}/bin/foomatic-rip ${PREFIX}/libexec/cups/filter/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2007/09/09 14:53:05 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.14 2007/09/30 14:39:23 steven Exp $
|
||||
@conflict LPRng-*
|
||||
@newgroup _cups:541
|
||||
@newuser _cups:541:541:daemon:CUPS:/nonexistent:/sbin/nologin
|
||||
@ -54,6 +54,7 @@ libexec/cups/daemon/cups-lpd
|
||||
libexec/cups/daemon/cups-polld
|
||||
libexec/cups/driver/
|
||||
libexec/cups/filter/
|
||||
libexec/cups/filter/foomatic-rip
|
||||
libexec/cups/filter/gziptoany
|
||||
libexec/cups/filter/hpgltops
|
||||
libexec/cups/filter/imagetops
|
||||
@ -1285,5 +1286,3 @@ share/locale/sv/cups_sv.po
|
||||
@sample /var/spool/cups/
|
||||
@sample /var/spool/cups/tmp/
|
||||
@sample /var/cache/cups/
|
||||
@exec ln -sf ${LOCALBASE}/bin/foomatic-rip ${PREFIX}/libexec/cups/filter/
|
||||
@unexec rm -f ${PREFIX}/libexec/cups/filter/foomatic-rip
|
||||
|
Loading…
Reference in New Issue
Block a user