svn commit: r439093 - head/biology/artemis

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 21 16:28:26 UTC 2017


Author: amdmi3
Date: Fri Apr 21 16:28:25 2017
New Revision: 439093
URL: https://svnweb.freebsd.org/changeset/ports/439093

Log:
  - Fix shebangs
  - Add NO_ARCH
  - Switch to relative links

Modified:
  head/biology/artemis/Makefile

Modified: head/biology/artemis/Makefile
==============================================================================
--- head/biology/artemis/Makefile	Fri Apr 21 16:28:05 2017	(r439092)
+++ head/biology/artemis/Makefile	Fri Apr 21 16:28:25 2017	(r439093)
@@ -3,7 +3,7 @@
 
 PORTNAME=	artemis
 PORTVERSION=	9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	biology java
 MASTER_SITES=	http://www.sanger.ac.uk/Software/Artemis/v${PORTVERSION}/ \
 		ftp://ftp.sanger.ac.uk/pub/pathogens/software/artemis/v${PORTVERSION}/
@@ -14,8 +14,12 @@ COMMENT=	DNA sequence viewer and annotat
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+USES=		shebangfix
+SHEBANG_FILES=	etc/go_associations.pl
+perl_OLD_CMD=	/usr/local/bin/perl5.6.1
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
+NO_ARCH=	yes
 
 NO_BUILD=	yes
 PLIST_SUB=	PORTVERSION="${PORTVERSION}"
@@ -26,7 +30,7 @@ post-extract:
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION}
 	@${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION} -xpf-
-	@${LN} -s ${PREFIX}/${PORTNAME}-${PORTVERSION}/art ${STAGEDIR}${PREFIX}/bin/art
-	@${LN} -s ${PREFIX}/${PORTNAME}-${PORTVERSION}/act ${STAGEDIR}${PREFIX}/bin/act
+	@${LN} -s ../${PORTNAME}-${PORTVERSION}/art ${STAGEDIR}${PREFIX}/bin/art
+	@${LN} -s ../${PORTNAME}-${PORTVERSION}/act ${STAGEDIR}${PREFIX}/bin/act
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list