aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-07-15 16:21:18 +0800
committerdemon <demon@FreeBSD.org>2001-07-15 16:21:18 +0800
commit3c5e5ff71b26161e9900ac6f0f910839185c9a3d (patch)
treefc1b9ed1e549a7a753cb6ba93f6a50eed0dd4099 /math
parent9873a450109992b511053a44689b661ec7565aeb (diff)
downloadfreebsd-ports-gnome-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.tar.gz
freebsd-ports-gnome-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.tar.zst
freebsd-ports-gnome-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.zip
Utilize DATADIR and DOCSDIR.
Diffstat (limited to 'math')
-rw-r--r--math/glpk/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 9b57f5a1349b..54fbdf5fa75e 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -24,10 +24,10 @@ DOCFILES= glpk_lr-1.1.1.ps.gz glpk_sm.ps.gz glpk_ug-1.1.1.ps.gz
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/glpk
+ @${MKDIR} ${DOCSDIR}
for file in ${DOCFILES} ; do \
- ${INSTALL_DATA} ${DISTDIR}/$$file ${PREFIX}/share/doc/glpk/ ; \
- ${GUNZIP_CMD} ${PREFIX}/share/doc/glpk/$$file ; \
+ ${INSTALL_DATA} ${DISTDIR}/$$file ${DOCSDIR} ; \
+ ${GUNZIP_CMD} ${DOCSDIR}/$$file ; \
done
.endif