1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/math/glpk/Makefile
Dmitry Sivachenko f146f1faaf Update to version 4.10.
Based on:
PR:		93547
Submitted by:	Pedro F. Giffuni <giffunip@asme.org>
2006-05-29 14:04:13 +00:00

38 lines
689 B
Makefile

# New ports collection makefile for: GLPK
# Date created: 16 December 2000
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= glpk
PORTVERSION= 4.10
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glpk
MAINTAINER= demon@FreeBSD.org
COMMENT= A GNU Linear Programming Kit
GNU_CONFIGURE= yes
USE_GMAKE= yes
CFLAGS+= -trigraphs
DOCFILES= lang.ps refman.ps bench.txt GLPK_FAQ.txt
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
for file in ${DOCFILES} ; do \
${INSTALL_DATA} ${WRKSRC}/doc/$$file ${DOCSDIR} ; \
done
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>