diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-08-09 17:37:03 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-08-09 17:37:03 +0000 |
commit | 676731ee7016c67d0161ae637662a6066faf8e31 (patch) | |
tree | 31b9b084ec9ce56d2e29e71ae39afc2712e7d0d7 /biology/genpak | |
parent | 5bac093e43a3cbe4cb299b5a47e02442365fad0e (diff) | |
download | ports-676731ee7016c67d0161ae637662a6066faf8e31.tar.gz ports-676731ee7016c67d0161ae637662a6066faf8e31.zip |
Notes
Diffstat (limited to 'biology/genpak')
-rw-r--r-- | biology/genpak/Makefile | 18 | ||||
-rw-r--r-- | biology/genpak/distinfo | 2 | ||||
-rw-r--r-- | biology/genpak/files/patch-Makefile | 29 | ||||
-rw-r--r-- | biology/genpak/files/patch-src::Makefile | 9 | ||||
-rw-r--r-- | biology/genpak/pkg-plist | 4 |
5 files changed, 30 insertions, 32 deletions
diff --git a/biology/genpak/Makefile b/biology/genpak/Makefile index 3e4d8c9131ce..84dc387dea4f 100644 --- a/biology/genpak/Makefile +++ b/biology/genpak/Makefile @@ -7,31 +7,27 @@ # PORTNAME= genpak -PORTVERSION= 0.25 +PORTVERSION= 0.26 CATEGORIES= biology MASTER_SITES= http://www.bioinformatics.org/genpak/download/ DISTNAME= gp-${PORTVERSION} EXTRACT_SUFX= .tgz -MAINTAINER= ijliao@FreeBSD.org +MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ png.4:${PORTSDIR}/graphics/png USE_GMAKE= yes +MAKE_ENV= GMAKE="${GMAKE}" MANPREFIX="${MANPREFIX}" -MAN1= Genpak.1 gp_acc.1 gp_cusage.1 gp_digest.1 gp_dimer.1 gp_findorf.1 \ - gp_gc.1 gp_getseq.1 gp_matrix.1 gp_mkmtx.1 gp_pattern.1 gp_qs.1 \ - gp_randseq.1 gp_seq2prot.1 gp_slen.1 gp_tm.1 gp_trimer.1 gp_primer.1 +MAN1= Genpak.1 gp_acc.1 gp_adjust.1 gp_cdndev.1 gp_cusage.1 gp_digest.1 \ + gp_dimer.1 gp_findorf.1 gp_gc.1 gp_getseq.1 gp_matrix.1 gp_mkmtx.1 \ + gp_pattern.1 gp_qs.1 gp_randseq.1 gp_seq2prot.1 gp_slen.1 gp_tm.1 \ + gp_trimer.1 gp_primer.1 .if !defined(NOPORTDOCS) INSTALL_TARGET= install docs .endif -post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g ; \ - s|%%MANPREFIX%%|${MANPREFIX}|g ; \ - s|%%DOCDIR%%|${PREFIX}/share/doc|g ; \ - s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Makefile - .include <bsd.port.mk> diff --git a/biology/genpak/distinfo b/biology/genpak/distinfo index 1d640501a87b..dc5201b3c262 100644 --- a/biology/genpak/distinfo +++ b/biology/genpak/distinfo @@ -1 +1 @@ -MD5 (gp-0.25.tgz) = 35bc282e2da3d5af24cf44ed01a04551 +MD5 (gp-0.26.tgz) = 34e2942ff6b27eeb6116b9dea87285b6 diff --git a/biology/genpak/files/patch-Makefile b/biology/genpak/files/patch-Makefile index db0ffe3ad507..46d6e9c14afe 100644 --- a/biology/genpak/files/patch-Makefile +++ b/biology/genpak/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig Tue Feb 13 22:41:12 2001 -+++ Makefile Wed Feb 28 01:01:15 2001 -@@ -5,15 +5,13 @@ +--- Makefile.orig Fri Aug 10 01:17:55 2001 ++++ Makefile Fri Aug 10 01:19:48 2001 +@@ -5,13 +5,11 @@ ###################################################################### # Change the following to suit your needs @@ -10,42 +10,39 @@ # If you make a personal installation, change it to your home directory # Default: /usr # uncomment the following line to install to the default directories... - # TREE=/usr +-TREE=/usr ++TREE=${PREFIX} # ...or the following line to install into your home directory: --TREE=$(HOME) -+TREE=%%PREFIX%% + # TREE=$(HOME) - # if you don't have the gd graphic library installed, you have to comment out or - # delete the following line. However, gp_map is such a nice program, so you @@ -25,7 +23,7 @@ BINDIR=$(TREE)/bin # directory to install the manual pages -MANDIR=$(TREE)/man -+MANDIR=%%MANPREFIX%%/man ++MANDIR=${MANPREFIX}/man #directory to install the data directory DATADIR=$(TREE)/lib -@@ -36,11 +34,11 @@ +@@ -36,11 +34,9 @@ # A catalog will be created: $(DOCDIR)/gp # It will *not* be uninstalled automagically after a "make uninstall" -DOCDIR=$(TREE)/doc -+DOCDIR=%%DOCDIR%% ++DOCDIR=${PREFIX}/share/doc # Your favourite ANSI compiler and it's flags - CC=gcc --CFLAGS=-ansi -pedantic -O3 -+CFLAGS=%%CFLAGS%% +-CC=gcc +-CFLAGS=-pedantic -O3 -Wall -g ###################################################################### # Do not change anything below this line -@@ -58,7 +56,7 @@ +@@ -58,7 +54,7 @@ mporfs.seq all: - cd src ; make PROGRAMS="$(PROGRAMS)" GDPROGRAMS="$(GDPROGRAMS)" CC=$(CC) \ -+ cd src ; gmake PROGRAMS="$(PROGRAMS)" GDPROGRAMS="$(GDPROGRAMS)" CC=$(CC) \ ++ cd src ; ${GMAKE} PROGRAMS="$(PROGRAMS)" GDPROGRAMS="$(GDPROGRAMS)" CC=$(CC) \ LIBS="$(LIBS)" CFLAGS="$(CFLAGS)" ; @echo -e "\nAll programs compiled. \nType 'make install' to install all programs." diff --git a/biology/genpak/files/patch-src::Makefile b/biology/genpak/files/patch-src::Makefile index 345fb413bb5b..e17784a114eb 100644 --- a/biology/genpak/files/patch-src::Makefile +++ b/biology/genpak/files/patch-src::Makefile @@ -1,10 +1,11 @@ ---- src/Makefile.orig Wed Feb 28 01:01:24 2001 -+++ src/Makefile Wed Feb 28 01:01:31 2001 -@@ -5,7 +5,6 @@ +--- src/Makefile.orig Fri Aug 10 01:20:01 2001 ++++ src/Makefile Fri Aug 10 01:20:17 2001 +@@ -5,8 +5,6 @@ ###################################################################### # Change the following to suit your needs -SHELL=/bin/bash - CC=gcc +-CC=gcc LIBS= -lz -lm #CFLAGS= -DNLS -DGZ + diff --git a/biology/genpak/pkg-plist b/biology/genpak/pkg-plist index 07c9bb039bf9..8cd44a00f040 100644 --- a/biology/genpak/pkg-plist +++ b/biology/genpak/pkg-plist @@ -1,4 +1,6 @@ bin/gp_acc +bin/gp_adjust +bin/gp_cdndev bin/gp_cusage bin/gp_digest bin/gp_dimer @@ -32,6 +34,8 @@ lib/genpak/standard.cdn %%PORTDOCS%%share/doc/gp/README.TXT %%PORTDOCS%%share/doc/gp/html/README.html %%PORTDOCS%%share/doc/gp/html/gp_acc.html +%%PORTDOCS%%share/doc/gp/html/gp_adjust.html +%%PORTDOCS%%share/doc/gp/html/gp_cdndev.html %%PORTDOCS%%share/doc/gp/html/gp_cusage.html %%PORTDOCS%%share/doc/gp/html/gp_digest.html %%PORTDOCS%%share/doc/gp/html/gp_dimer.html |