3361106f3b
- Cleanup - Use bsd.gnustep.mk - build with X11 by default - add Option WITHOUT_X11 - Fix PLIST PR: 50479
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: gnustep-guile
|
|
# Date created: 24 April 2001
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnustep-guile
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP} \
|
|
ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= libs
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= GNUstep interface to the GUILE scheme interpreter
|
|
|
|
LIB_DEPENDS+= guile.10:${PORTSDIR}/lang/guile
|
|
|
|
PREFIX= ${LOCALBASE}/GNUstep
|
|
NO_MTREE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET=
|
|
USE_GMAKE= yes
|
|
MAKEFILE=
|
|
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
|
|
PLIST_SUB+= GUILE_VER="${GUILE_VER}"
|
|
|
|
MAN1= greg.1
|
|
|
|
.if defined(WITHOUT_X11)
|
|
PKGNAMESUFFIX?= -nox11
|
|
USE_GNUSTEP_BASE= yes
|
|
PLIST_SUB+= USEX11="@comment "
|
|
.else
|
|
USE_GNUSTEP_BACK= yes
|
|
PLIST_SUB+= USEX11=""
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
USE_GNUSTEP_CONFIGURE= yes
|
|
USE_GNUSTEP_BUILD= yes
|
|
USE_GNUSTEP_INSTALL= yes
|
|
.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"
|
|
|
|
GUILE_VER!= (cd ${PORTSDIR}/lang/guile && make -V PORTVERSION)
|
|
|
|
.include <bsd.port.post.mk>
|