pkgsrc/math/xgap/Makefile
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:37 rillig Exp $
#
DISTNAME= xgap4r16
PKGNAME= xgap-4.16
PKGREVISION= 1
CATEGORIES= math x11
MASTER_SITES= ftp://ftp-gap.dcs.st-and.ac.uk/pub/gap/gap4/share/
EXTRACT_SUFX= .zoo
MAINTAINER= cjep@NetBSD.org
HOMEPAGE= http://www.gap-system.org/Share/xgap.html
COMMENT= GUI for GAP
WRKSRC= ${WRKDIR}/${GAP_PKG_NAME}
GNU_CONFIGURE= YES
BUILD_TARGET= default
CONFIGURE_ENV+= GAP_DIRECTORY=${GAP_DIRECTORY:Q}
GAP_PKG_NAME= xgap
INSTALLATION_DIRS= bin
pre-configure:
(cd ${WRKDIR} && ${LN} -s ${GAP_DIRECTORY}/cnf cnf)
do-install:
${INSTALL_PROGRAM_DIR} ${GAP_PKG_DIRECTORY}/bin/${GAP_PLATFORM}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${GAP_PLATFORM}/xgap \
${GAP_PKG_DIRECTORY}/bin/${GAP_PLATFORM}
${INSTALL_SCRIPT} ${WRKSRC}/bin/xgap.sh \
${PREFIX}/bin/xgap
${INSTALL_DATA} ${WRKSRC}/init.g ${GAP_PKG_DIRECTORY}
for I in doc examples htm lib; do \
cd ${WRKSRC} && ${PAX} -rw $$I ${GAP_PKG_DIRECTORY}; \
done
.include "../../mk/x11.buildlink3.mk"
.include "../../math/gap/gap.package.mk"
.include "../../mk/bsd.pkg.mk"