diff options
author | demon <demon@FreeBSD.org> | 2001-09-29 19:11:28 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2001-09-29 19:11:28 +0800 |
commit | 16930e846231e2ca2329113810deeb639aa570ee (patch) | |
tree | 58af90d017323aad16a3d59535921c99ecee19cc /math/glpk/Makefile | |
parent | ad2997b686b645b2f5bc2621a2b9319cbd7501d4 (diff) | |
download | freebsd-ports-gnome-16930e846231e2ca2329113810deeb639aa570ee.tar.gz freebsd-ports-gnome-16930e846231e2ca2329113810deeb639aa570ee.tar.zst freebsd-ports-gnome-16930e846231e2ca2329113810deeb639aa570ee.zip |
Update to 3.0.2
Diffstat (limited to 'math/glpk/Makefile')
-rw-r--r-- | math/glpk/Makefile | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile index e71bde366692..8d1011dc1a7b 100644 --- a/math/glpk/Makefile +++ b/math/glpk/Makefile @@ -6,28 +6,36 @@ # PORTNAME= glpk -PORTVERSION= 3.0.1 +PORTVERSION= 3.0.2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} \ http://people.freebsd.org/~demon/distfiles/ MASTER_SITE_SUBDIR= glpk -.if !defined(NOPORTDOCS) -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES} -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -.endif MAINTAINER= demon@FreeBSD.org +.if !defined(NOPORTDOCS) +BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/teTeX +.endif + GNU_CONFIGURE= yes -DOCFILES= glpk_lr-1.1.1.ps.gz glpk_sm.ps.gz glpk_ug-1.1.1.ps.gz +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 post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} for file in ${DOCFILES} ; do \ - ${INSTALL_DATA} ${DISTDIR}/$$file ${DOCSDIR} ; \ - ${GUNZIP_CMD} ${DOCSDIR}/$$file ; \ + ${INSTALL_DATA} ${WRKSRC}/$$file.ps ${DOCSDIR} ; \ done .endif |