diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-09-04 19:04:38 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-09-04 19:04:38 +0800 |
commit | 67cf1526e783ff7d34476f555d388307e1959b34 (patch) | |
tree | d3adc63d46a121324fc53d26d673c1848cd639d6 | |
parent | 596112212a8027405782b67972e427a3eded6b4f (diff) | |
download | marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.tar marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.tar.gz marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.tar.bz2 marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.tar.lz marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.tar.xz marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.tar.zst marcuscom-ports-67cf1526e783ff7d34476f555d388307e1959b34.zip |
Make this port work if PORTNAME has a '-' in it
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9524 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | misc/gnome2-reference/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/gnome2-reference/Makefile b/misc/gnome2-reference/Makefile index 886e4e3f8..1f37192df 100644 --- a/misc/gnome2-reference/Makefile +++ b/misc/gnome2-reference/Makefile @@ -3,7 +3,7 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/misc/gnome2-reference/Makefile,v 1.4 2007/09/04 03:35:39 ahze Exp $ +# $MCom: ports/misc/gnome2-reference/Makefile,v 1.5 2007/09/04 03:37:13 ahze Exp $ PORTNAME= gnome2-reference PORTVERSION= 2.20 @@ -64,11 +64,11 @@ REF_LIST_INC= ${.CURDIR}/Makefile.inc .include <bsd.port.pre.mk> .for ref in ${_PORT_REF_LIST:C/^([^:]+).*/\1/} -OPTIONS+= ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:U} "Install ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//} programing reference " on +OPTIONS+= ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:S/-/_/:U} "Install ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//} programing reference " on .endfor .for ref in ${_PORT_REF_LIST} -.if !defined(WITHOUT_${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:U:C/^([^:]+).*/\1/}) +.if !defined(WITHOUT_${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:S/-/_/:U:C/^([^:]+).*/\1/}) RUN_DEPENDS+= ${ref:C|^[^:]+:([^:]+).*|\1|:C|^[^/]+/([^/]+).*|\1|}>0:${PORTSDIR}/${ref:C/^([^:]+).*/\1/} .endif .endfor |