mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
b2bba30078
PR: ports/94631 Submitted by: amir husaini <amir.husaini@gmail.com> (maintainer)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: tablix
|
|
# Date created: 17 October 2005
|
|
# Whom: amir.husaini@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tablix2
|
|
PORTVERSION= 0.3.1
|
|
CATEGORIES= math www
|
|
MASTER_SITES= http://www.tablix.org/releases/stable/ \
|
|
http://my.samba.org/
|
|
|
|
MAINTAINER= amir.husaini@gmail.com
|
|
COMMENT= Free software for solving timetabling problems
|
|
|
|
BUILD_DEPENDS= pvm:${PORTSDIR}/net/pvm
|
|
RUN_DEPENDS= pvm:${PORTSDIR}/net/pvm
|
|
|
|
PVM_ROOT= ${PREFIX}/lib/pvm
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= libxml2
|
|
GNU_CONFIGURE= yes
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--with-included-gettext \
|
|
--disable-nls
|
|
PLIST_SUB= NLS="@comment "
|
|
.endif
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib \
|
|
PVM_ROOT=${PVM_ROOT} PVM_LIB=${PREFIX}/lib
|
|
|
|
MAN1= tablix2.1 tablix2_benchmark.1 tablix2_kernel.1 tablix2_output.1 \
|
|
tablix2_plot.1 tablix2_test.1
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/tablix2 ${PVM_ROOT}/bin/FREEBSD/tablix2
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/tablix2_kernel ${PVM_ROOT}/bin/FREEBSD/tablix2_kernel
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/tablix2_output ${PVM_ROOT}/bin/FREEBSD/tablix2_output
|
|
|
|
.include <bsd.port.mk>
|