Index: sysutils/tarsnap/Makefile =================================================================== --- sysutils/tarsnap/Makefile (revision 322973) +++ sysutils/tarsnap/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: Tarsnap backup client -# Date created: 2009-07-04 -# Whom: Colin Percival -# +# Created by: Colin Percival # $FreeBSD$ -# PORTNAME= tarsnap PORTVERSION= 1.0.34 @@ -18,7 +14,7 @@ RESTRICTED= license restricts redistribution of source and binaries GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake MAN1= tarsnap.1 tarsnap-keygen.1 tarsnap-keymgmt.1 \ tarsnap-keyregen.1 tarsnap-recrypt.1 @@ -27,15 +23,10 @@ OPTIONS_DEFINE= SSE2 SSE2_DESC= Use SSE2-optimized code -.include +SSE2_CONFIGURE_ENABLE= sse2 +SSE2_CONFIGURE_DISABLE= sse2 +SSE2_CFLAGS= -msse2 -.if ${PORT_OPTIONS:MSSE2} -CONFIGURE_ARGS+= --enable-sse2 -CFLAGS+= -msse2 -.else -CONFIGURE_ARGS+= --disable-sse2 -.endif - post-install: @if [ ! -f ${PREFIX}/etc/tarsnap.conf ]; then \ ${CP} -p ${PREFIX}/etc/tarsnap.conf.sample ${PREFIX}/etc/tarsnap.conf ; \