svn commit: r311144 - head/devel/libffi

Jung-uk Kim jkim at FreeBSD.org
Tue Jan 29 01:18:46 UTC 2013


Author: jkim
Date: Tue Jan 29 01:18:45 2013
New Revision: 311144
URL: http://svnweb.freebsd.org/changeset/ports/311144

Log:
  - Use SOURCEWARE master sites.
  - Use make for regression test.
  - Tidy up and make portlint happy.

Modified:
  head/devel/libffi/Makefile

Modified: head/devel/libffi/Makefile
==============================================================================
--- head/devel/libffi/Makefile	Tue Jan 29 00:56:17 2013	(r311143)
+++ head/devel/libffi/Makefile	Tue Jan 29 01:18:45 2013	(r311144)
@@ -4,8 +4,8 @@
 PORTNAME=	libffi
 PORTVERSION=	3.0.11
 CATEGORIES=	devel
-MASTER_SITES=	ftp://sourceware.org/pub/libffi/ \
-		http://www.mirrorservice.org/sites/sourceware.org/pub/libffi/
+MASTER_SITES=	SOURCEWARE
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Foreign Function Interface
@@ -16,7 +16,7 @@ TEST_DESC=	Run regression test suite
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTEST}
-BUILD_DEPENDS=	runtest:${PORTSDIR}/misc/dejagnu
+BUILD_DEPENDS+=	runtest:${PORTSDIR}/misc/dejagnu
 .endif
 
 GNU_CONFIGURE=	yes
@@ -31,11 +31,13 @@ MAN3=		ffi.3 ffi_call.3 ffi_prep_cif.3 f
 
 .if ${PORT_OPTIONS:MTEST}
 post-build:
-	@cd ${WRKSRC} && ${GMAKE} check
+	@cd ${WRKSRC} && ${MAKE} check
 .endif
 
 post-install:
-	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h ${PREFIX}/include/
-	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h ${PREFIX}/include/
+	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h \
+	    ${PREFIX}/include/
+	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h \
+	    ${PREFIX}/include/
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list