diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-11-15 06:30:40 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-11-15 06:30:40 +0000 |
commit | e021fe1f3f4ad3bb34f55dbab24930340721c132 (patch) | |
tree | 9ffb57aa1736660f766d3d0a1c407769627d66ed /print/cups-base | |
parent | 1d60e120ab5c7db0e925207b60597b2aeb8ae45e (diff) | |
download | ports-e021fe1f3f4ad3bb34f55dbab24930340721c132.tar.gz ports-e021fe1f3f4ad3bb34f55dbab24930340721c132.zip |
Notes
Diffstat (limited to 'print/cups-base')
-rw-r--r-- | print/cups-base/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 93f1ad4f48b2..8802ef887d8d 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -12,6 +12,7 @@ PORTREVISION= 0 CATEGORIES= print MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION} PKGNAMESUFFIX= ${CUPS_SUFFIX}${PKGNAMESUFFIX2} +UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} MAINTAINER= dinoex@FreeBSD.org COMMENT= Common UNIX Printing System: ${COMMENT2} @@ -65,10 +66,18 @@ CUPSSYSGRP= wheel #GROUPS= cups #USERS= cups +# UNIQUENAME must be set before bsd.port.pre.mk so OPTIONSFILE can be included +.if defined(CUPS_CLIENT) +CUPS_SUFFIX= -client +.elif defined(CUPS_IMAGE) +CUPS_SUFFIX= -image +.else +CUPS_SUFFIX= -base +.endif + .include <bsd.port.pre.mk> .if defined(CUPS_CLIENT) -CUPS_SUFFIX= -client COMMENT2= Library cups INSTALL_WRKSRC= ${WRKSRC}/cups PLIST= ${MASTERDIR}/pkg-plist.client @@ -76,7 +85,6 @@ USE_LDCONFIG= yes PKGMESSAGE= ${NONEXISTENT} DESCR= ${MASTERDIR}/pkg-descr.client .elif defined(CUPS_IMAGE) -CUPS_SUFFIX= -image LIB_DEPENDS+= cups.2:${PORTSDIR}/${PKGCATEGORY}/cups-client \ jpeg.11:${PORTSDIR}/graphics/jpeg \ png.6:${PORTSDIR}/graphics/png \ @@ -90,7 +98,6 @@ PKGMESSAGE= ${NONEXISTENT} DESCR= ${MASTERDIR}/pkg-descr.image .else CONFLICTS+= cupsddk-* -CUPS_SUFFIX= -base LIB_DEPENDS+= cups.2:${PORTSDIR}/${PKGCATEGORY}/cups-client \ cupsimage.2:${PORTSDIR}/${PKGCATEGORY}/cups-image # force build if old cups is installed. |