construct MASTER_SITES based on GNOME_PROJECT and GNOME_VERSION
Both should be set in a port's Makefile.
This commit is contained in:
parent
3eae0fe94a
commit
dc92ed5abf
@ -1,8 +1,11 @@
|
||||
# $OpenBSD: gnome.port.mk,v 1.1 2007/05/30 09:19:02 jasper Exp $
|
||||
# $OpenBSD: gnome.port.mk,v 1.2 2007/05/31 11:30:35 jasper Exp $
|
||||
# Module for GNOME related ports
|
||||
|
||||
CATEGORIES+= x11/gnome
|
||||
|
||||
DISTNAME= ${GNOME_PROJECT}-${GNOME_VERSION}
|
||||
V= ${GNOME_VERSION:C/:*.[0-9]$//}
|
||||
|
||||
USE_LIBTOOL?= Yes
|
||||
USE_X11= Yes
|
||||
|
||||
@ -12,6 +15,7 @@ BUILD_DEPENDS+= :intltool-*:textproc/intltool \
|
||||
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
||||
RUN_DEPENDS+= ${MODGNOME_RUN_DEPENDS}
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${V}/}
|
||||
EXTRACT_SUFX?= .tar.bz2
|
||||
|
||||
MODGNOME_CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
|
Loading…
Reference in New Issue
Block a user