pkgsrc/lang/cu-prolog/Makefile

30 lines
964 B
Makefile

# $NetBSD: Makefile,v 1.18 2020/05/03 16:45:52 rillig Exp $
DISTNAME= cu-prolog-3.94
CATEGORIES= lang
MASTER_SITES= ftp://ftp.icot.or.jp/ifs/kbms-clp/unix/cuprolog/
DISTFILES= cupsrc.tar.gz cupdoc.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Experimental constraint logic programming language
WRKSRC= ${WRKDIR}/src
DIST_SUBDIR= ${DISTNAME}
MAKE_FILE= makefile
BUILD_TARGET= cup
# harmless; the calls in print.c are all guarded
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cup3 ${DESTDIR}${PREFIX}/bin/cuprolog
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cu-prolog
cd ${WRKDIR} && ${INSTALL_DATA} README* COPYRIGHT* CHANGES \
doc/*.dvi doc/*.doc ${DESTDIR}${PREFIX}/share/doc/cu-prolog
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/cu-prolog
${INSTALL_DATA} ${WRKDIR}/sample/* \
${DESTDIR}${PREFIX}/share/examples/cu-prolog
.include "../../mk/bsd.pkg.mk"