2007-08-30 17:28:27 +00:00
|
|
|
# New ports collection makefile for: slgrace
|
|
|
|
# Date created: 2007-08-30
|
|
|
|
# Whom: Renato Botelho <garga@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= slgrace
|
2007-10-11 17:26:03 +00:00
|
|
|
PORTVERSION= 0.2.2
|
2007-08-30 17:28:27 +00:00
|
|
|
CATEGORIES= math devel
|
|
|
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v${SLANG_VER}/modules/grace/ \
|
2007-09-04 12:41:54 +00:00
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${SLANG_VER}/modules/grace/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= garga/slgrace/
|
2007-08-30 17:28:27 +00:00
|
|
|
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
|
|
COMMENT= A SLang module to plot graphs with grace
|
|
|
|
|
|
|
|
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
|
|
|
|
RUN_DEPENDS= grace:${PORTSDIR}/math/grace
|
|
|
|
|
|
|
|
SLANG_VER= 2.1
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2007-10-11 17:26:03 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e 's, install_docfiles,,' \
|
|
|
|
-e '/MKINSDIR.*DEST_DOC_FILES_INSTALL_DIR/d' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
.else
|
|
|
|
@${REINPLACE_CMD} -E 's,^(DOC_FILES_INSTALL_DIR) *= *.*$$,\1 = ${DOCSDIR},' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
.endif
|
2007-08-30 17:28:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|