View | Details | Raw Unified | Return to bug 223098
Collapse All | Expand All

(-)Makefile (-5 / +21 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mummer
4
PORTNAME=	mummer
5
PORTVERSION=	3.23
5
PORTVERSION=	3.23
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	biology
7
CATEGORIES=	biology
8
MASTER_SITES=	SF
8
MASTER_SITES=	SF
9
DISTNAME=	MUMmer${PORTVERSION}
9
DISTNAME=	MUMmer${PORTVERSION}
Lines 11-23 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Modular system for rapid whole genome alignment
12
COMMENT=	Modular system for rapid whole genome alignment
13
13
14
USES=		gmake perl5
14
LICENSE=	ART10
15
LICENSE_FILE=	${WRKSRC}/LICENSE
15
16
17
USES=		gmake perl5 shebangfix
18
19
SHEBANG_FILES=	scripts/*.csh scripts/*.pl
20
SHEBANG_LANG=	csh
21
perl_OLD_CMD=	__PERL_PATH
22
csh_OLD_CMD=	__CSH_PATH
23
csh_CMD=	/bin/csh
24
_SHEBANG_REINPLACE_ARGS+=	-e "s|__BIN_DIR|${PREFIX}/bin|g;s|__AUX_BIN_DIR|${PREFIX}/libexec/mummer|g;s|__SCRIPT_DIR|${PREFIX}/libexec/mummer|g"
25
16
PROGRAMS=	annotate combineMUMs delta-filter gaps \
26
PROGRAMS=	annotate combineMUMs delta-filter gaps \
17
		mgaps mummer repeat-match show-aligns \
27
		mgaps mummer repeat-match show-aligns \
18
		show-coords show-diff show-snps show-tiling
28
		show-coords show-diff show-snps show-tiling
19
SCRIPTS=	dnadiff exact-tandems mapview mummerplot nucmer \
29
SCRIPTS=	dnadiff.pl exact-tandems.csh mapview.pl mummerplot.pl nucmer.pl \
20
		nucmer2xfig promer run-mummer1 run-mummer3
30
		nucmer2xfig.pl promer.pl run-mummer1.csh run-mummer3.csh
31
LIBEXEC=	Foundation.pm tandem-repeat.awk
21
DOCUMENTS=	COPYRIGHT INSTALL LICENSE README
32
DOCUMENTS=	COPYRIGHT INSTALL LICENSE README
22
33
23
OPTIONS_DEFINE=	DOCS
34
OPTIONS_DEFINE=	DOCS
Lines 24-30 Link Here
24
35
25
do-install:
36
do-install:
26
	${INSTALL_PROGRAM} ${PROGRAMS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
37
	${INSTALL_PROGRAM} ${PROGRAMS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
27
	${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
38
.for file in ${SCRIPTS}
39
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${STAGEDIR}${PREFIX}/bin/${file:R}
40
.endfor
41
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
42
	${INSTALL_PROGRAM} ${WRKSRC}/aux_bin/* ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
43
	${INSTALL_DATA} ${LIBEXEC:S|^|${WRKSRC}/scripts/|} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
28
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
44
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
29
	${INSTALL_DATA} ${DOCUMENTS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
45
	${INSTALL_DATA} ${DOCUMENTS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
30
46
(-)files/patch-Makefile (-3 / +11 lines)
Lines 1-4 Link Here
1
--- Makefile.orig	2015-08-05 01:03:53 UTC
1
--- Makefile.orig	2011-12-17 02:49:27 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -35,16 +35,11 @@ SCRIPT_DIR    := $(TOP_DIR)/scripts
3
@@ -35,16 +35,11 @@ SCRIPT_DIR    := $(TOP_DIR)/scripts
4
 TIGR_SRC_DIR  := $(TOP_DIR)/src/tigr
4
 TIGR_SRC_DIR  := $(TOP_DIR)/src/tigr
Lines 8-15 Link Here
8
-CXX  := $(filter /%,$(shell /bin/sh -c 'type g++'))
8
-CXX  := $(filter /%,$(shell /bin/sh -c 'type g++'))
9
 SED  := $(filter /%,$(shell /bin/sh -c 'type sed'))
9
 SED  := $(filter /%,$(shell /bin/sh -c 'type sed'))
10
 CSH  := $(filter /%,$(shell /bin/sh -c 'type csh'))
10
 CSH  := $(filter /%,$(shell /bin/sh -c 'type csh'))
11
-PERL := $(filter /%,$(shell /bin/sh -c 'type perl'))
11
 PERL := $(filter /%,$(shell /bin/sh -c 'type perl'))
12
+PERL := ${LOCALBASE}/bin/perl
13
 AR   := $(filter /%,$(shell /bin/sh -c 'type ar'))
12
 AR   := $(filter /%,$(shell /bin/sh -c 'type ar'))
14
 
13
 
15
-CXXFLAGS = -O3
14
-CXXFLAGS = -O3
Lines 18-20 Link Here
18
 
17
 
19
 FLATS = ACKNOWLEDGEMENTS COPYRIGHT INSTALL LICENSE Makefile README ChangeLog
18
 FLATS = ACKNOWLEDGEMENTS COPYRIGHT INSTALL LICENSE Makefile README ChangeLog
20
 
19
 
20
@@ -60,7 +55,7 @@ export BIN_DIR AUX_BIN_DIR CXX CC CFLAGS
21
 .PHONY: all check clean dist scripts uninstall
22
 
23
 
24
-all: kurtz tigr scripts
25
+all: kurtz tigr
26
 
27
 
28
 check:
(-)pkg-plist (+6 lines)
Lines 19-24 Link Here
19
bin/show-diff
19
bin/show-diff
20
bin/show-snps
20
bin/show-snps
21
bin/show-tiling
21
bin/show-tiling
22
libexec/mummer/Foundation.pm
23
libexec/mummer/postnuc
24
libexec/mummer/postpro
25
libexec/mummer/prenuc
26
libexec/mummer/prepro
27
libexec/mummer/tandem-repeat.awk
22
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
28
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
23
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
29
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
24
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
30
%%PORTDOCS%%%%DOCSDIR%%/LICENSE

Return to bug 223098