mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
b2a263d99b
Install more headers. PR: 119662 Submitted by: bf <bf2006a@yahoo.com>
44 lines
979 B
Makefile
44 lines
979 B
Makefile
# New ports collection makefile for: GLPK
|
|
# Date created: 16 December 2000
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= glpk
|
|
PORTVERSION= 4.25
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= glpk
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= A GNU Linear Programming Kit
|
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
CFLAGS+= -trigraphs
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps \
|
|
gomory.djvu opb.txt
|
|
.endif
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${CP} ${WRKSRC}/doc/memo/gomory.djvu ${WRKSRC}/doc/
|
|
@${MKDIR} ${DOCSDIR}
|
|
for docfile in ${PORTDOCS} ; do \
|
|
${INSTALL_MAN} ${WRKSRC}/doc/$${docfile} ${DOCSDIR} ; \
|
|
done
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|