1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/math/aspcud/Makefile
Baptiste Daroussin 4650a910d0 Chase boost and icu bump
While here convert some LIB_DEPENDS
2014-02-07 11:44:08 +00:00

38 lines
1.2 KiB
Makefile

# Created by: Vsevolod Stakhov <vsevolod@FreeBSD.org>
# $FreeBSD$
PORTNAME= aspcud
PORTVERSION= 1.8.0
PORTREVISION= 1
DISTVERSIONSUFFIX= -source
CATEGORIES= math ports-mgmt sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= potassco/${PORTNAME}/${PORTVERSION}
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Advanced solver for package dependencies
LICENSE= GPLv3
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS= gringo:${PORTSDIR}/math/gringo \
clasp:${PORTSDIR}/math/clasp \
bash:${PORTSDIR}/shells/bash
USE_PYTHON_RUN= yes
USES= compiler:c++11-lang cmake:outsource shebangfix
SHEBANG_FILES= ${WRKSRC}/scripts/aspcud.sh
post-patch:
${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/scripts/${PORTNAME}.sh
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/cudf2lp ${STAGEDIR}${PREFIX}/bin/cudf2lp
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/scripts/encodings/misc2012.lp ${STAGEDIR}${DATADIR}/misc2012.lp
${INSTALL_DATA} ${WRKSRC}/scripts/encodings/specification.lp ${STAGEDIR}${DATADIR}/specification.lp
.include <bsd.port.mk>