diff options
author | asami <asami@FreeBSD.org> | 1996-12-24 15:47:28 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-12-24 15:47:28 +0800 |
commit | 9273c7fd0dba7b68271cb047351c1a23456376ab (patch) | |
tree | 13382ba4aaa2cdf29e1ab87427466b144420a6bf | |
parent | 0bb7d130c87e2474953a840d89d1524b17d77b3f (diff) | |
download | freebsd-ports-gnome-9273c7fd0dba7b68271cb047351c1a23456376ab.tar.gz freebsd-ports-gnome-9273c7fd0dba7b68271cb047351c1a23456376ab.tar.zst freebsd-ports-gnome-9273c7fd0dba7b68271cb047351c1a23456376ab.zip |
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.
-rw-r--r-- | graphics/p5-PGPLOT/Makefile | 21 | ||||
-rw-r--r-- | graphics/pgperl/Makefile | 21 |
2 files changed, 22 insertions, 20 deletions
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile index 9cd7cf86ff5a..6cd847524e7f 100644 --- a/graphics/p5-PGPLOT/Makefile +++ b/graphics/p5-PGPLOT/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> diff --git a/graphics/pgperl/Makefile b/graphics/pgperl/Makefile index 9cd7cf86ff5a..6cd847524e7f 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> |