freebsd-ports/math/glpk/Makefile

43 lines
882 B
Makefile
Raw Normal View History

# New ports collection makefile for: GLPK
# Date created: 16 December 2000
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= glpk
2001-09-29 07:11:28 -04:00
PORTVERSION= 3.0.2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU} \
http://people.freebsd.org/~demon/distfiles/
MASTER_SITE_SUBDIR= glpk
MAINTAINER= demon@FreeBSD.org
2001-09-29 07:11:28 -04:00
.if !defined(NOPORTDOCS)
BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/teTeX
.endif
GNU_CONFIGURE= yes
2001-09-29 07:11:28 -04:00
DOCFILES= guide language libref simplex
post-build:
.if !defined(NOPORTDOCS)
for file in ${DOCFILES} ; do \
cd ${WRKSRC} && ${LOCALBASE}/bin/texi2dvi doc/$$file.texinfo ; \
${LOCALBASE}/bin/dvips -o ${WRKSRC}/$$file.ps \
${WRKSRC}/$$file.dvi ; \
done
.endif
2001-03-13 06:55:18 -05:00
post-install:
.if !defined(NOPORTDOCS)
2001-07-15 04:21:18 -04:00
@${MKDIR} ${DOCSDIR}
2001-03-13 06:55:18 -05:00
for file in ${DOCFILES} ; do \
2001-09-29 07:11:28 -04:00
${INSTALL_DATA} ${WRKSRC}/$$file.ps ${DOCSDIR} ; \
2001-03-13 06:55:18 -05:00
done
.endif
.include <bsd.port.mk>