summaryrefslogtreecommitdiffstats
path: root/graphics/pgperl/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-12-24 07:47:28 +0000
committerasami <asami@FreeBSD.org>1996-12-24 07:47:28 +0000
commit9273c7fd0dba7b68271cb047351c1a23456376ab (patch)
tree13382ba4aaa2cdf29e1ab87427466b144420a6bf /graphics/pgperl/Makefile
parent0bb7d130c87e2474953a840d89d1524b17d77b3f (diff)
downloadFreeBSD-ports-9273c7fd0dba7b68271cb047351c1a23456376ab.zip
FreeBSD-ports-9273c7fd0dba7b68271cb047351c1a23456376ab.tar.gz
Fix this Makefile up big-time.
(1) Standardize (move variables around). (2) Finish writing the *_DEPENDS line, which all ended in mid-sentence. (3) Move docs from share/pgperl to share/doc/pgperl.
Diffstat (limited to 'graphics/pgperl/Makefile')
-rw-r--r--graphics/pgperl/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile
index 9cd7cf8..6cd8475 100644
--- a/graphics/pgperl/Makefile
+++ b/graphics/pgperl/Makefile
@@ -3,26 +3,27 @@
# Date created: 22 December 1996
# Whom: jmz
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/12/23 17:37:41 jmz Exp $
#
DISTNAME= PGPLOT1.0b_src
-EXTRACT_SUFX= .tar.Z
PKGNAME= pgperl-1.0
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.ast.cam.ac.uk/pgperl/perl5/
-
-WRKSRC= ${WRKDIR}/PGPLOT
-ALL_TARGET= dynamic
+EXTRACT_SUFX= .tar.Z
MAINTAINER= jmz@FreeBSD.org
-BUILD_DEPENDS= perl5.003
-LIB_DEPENDS= pgplot\\.5\\.
-RUN_DEPENDS= perl5.003
+BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+LIB_DEPENDS= pgplot\\.5\\.:${PORTSDIR}/graphics/pgplot
+RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+
+WRKSRC= ${WRKDIR}/PGPLOT
+ALL_TARGET= dynamic
post-install:
- @mkdir -p ${PREFIX}/share/pgperl
- @(cd ${WRKSRC}; cp LICENSE pgperl.doc testpg* ${PREFIX}/share/pgperl)
+ @${MKDIR} ${PREFIX}/share/doc/pgperl
+ @(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE pgperl.doc testpg* \
+ ${PREFIX}/share/doc/pgperl)
.include <bsd.port.mk>
OpenPOWER on IntegriCloud