summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/gnome2-reference/Makefile6
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