2000-09-22 15:15:20 +02:00
|
|
|
# New ports collection makefile for: ProjectCenter
|
|
|
|
# Date created: 22 Sep 2000
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= projectcenter.app
|
2003-03-05 05:21:53 +01:00
|
|
|
PORTVERSION= 0.3.2
|
2000-09-22 15:15:20 +02:00
|
|
|
CATEGORIES= devel
|
2003-03-23 06:02:08 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP} \
|
|
|
|
ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/
|
2000-11-21 13:21:26 +01:00
|
|
|
DISTNAME= ProjectCenter-${PORTVERSION}
|
2003-03-23 06:02:08 +01:00
|
|
|
MASTER_SITE_SUBDIR= dev-apps
|
2000-09-22 15:15:20 +02:00
|
|
|
|
2002-11-07 20:33:44 +01:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= A development environment for GNUstep
|
2000-09-22 15:15:20 +02:00
|
|
|
|
|
|
|
PREFIX= ${LOCALBASE}/GNUstep
|
2003-04-13 08:58:39 +02:00
|
|
|
NO_MTREE= yes
|
2000-09-22 15:15:20 +02:00
|
|
|
WRKSRC= ${WRKDIR}/ProjectCenter
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
2003-04-13 08:58:39 +02:00
|
|
|
MAKE_ENV+= ADDITIONAL_INCLUDE_DIRS="-I${WRKSRC}"
|
|
|
|
MAKE_ENV+= ADDITIONAL_LIB_DIRS="-L${WRKSRC}/PCLib/shared_obj/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu"
|
2001-07-11 13:23:23 +02:00
|
|
|
|
2000-09-22 15:15:20 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-04-13 08:58:39 +02:00
|
|
|
USE_GNUSTEP_BACK= yes
|
|
|
|
USE_GNUSTEP_BUILD= yes
|
|
|
|
USE_GNUSTEP_INSTALL= yes
|
|
|
|
.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"
|
2000-09-22 15:15:20 +02:00
|
|
|
|
|
|
|
# XXX This is ugly beyond measure. Don't tell anyone I did this.
|
|
|
|
post-extract:
|
|
|
|
${LN} -sf ${WRKSRC}/PCLib/*.h ${WRKSRC}/ProjectCenter
|
|
|
|
|
2001-07-11 13:23:23 +02:00
|
|
|
# Quick workaround until I find out how to set the real path in the code
|
2000-09-22 15:15:20 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in PCLib/PCBundleLoader.m ProjectCenter/PCAppController.m
|
2003-01-20 04:52:37 +01:00
|
|
|
@${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.sed
|
|
|
|
${SED} -e "s=@\"/usr/GNUstep=@\"${PREFIX}=g" \
|
|
|
|
${WRKSRC}/${file}.sed > ${WRKSRC}/${file}
|
2000-09-22 15:15:20 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|