freebsd-ports/devel/projectcenter.app/Makefile
Dirk Meyer db8cb8d94e - Use libobjc.so
- Cleanup
- Use bsd.gnustep.mk
PR:		50479
2003-04-13 06:58:39 +00:00

47 lines
1.3 KiB
Makefile

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