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

(-)sysutils/tarsnap/Makefile (-14 / +5 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:		Tarsnap backup client
1
# Created by: Colin Percival
2
# Date created:					2009-07-04
3
# Whom:						Colin Percival
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	tarsnap
4
PORTNAME=	tarsnap
9
PORTVERSION=	1.0.34
5
PORTVERSION=	1.0.34
Lines 18-24 Link Here
18
RESTRICTED=	license restricts redistribution of source and binaries
14
RESTRICTED=	license restricts redistribution of source and binaries
19
15
20
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
21
USE_GMAKE=	yes
17
USES=		gmake
22
18
23
MAN1=		tarsnap.1 tarsnap-keygen.1 tarsnap-keymgmt.1	\
19
MAN1=		tarsnap.1 tarsnap-keygen.1 tarsnap-keymgmt.1	\
24
		tarsnap-keyregen.1 tarsnap-recrypt.1
20
		tarsnap-keyregen.1 tarsnap-recrypt.1
Lines 27-41 Link Here
27
OPTIONS_DEFINE=	SSE2
23
OPTIONS_DEFINE=	SSE2
28
SSE2_DESC=	Use SSE2-optimized code
24
SSE2_DESC=	Use SSE2-optimized code
29
25
30
.include <bsd.port.options.mk>
26
SSE2_CONFIGURE_ENABLE=	sse2
27
SSE2_CONFIGURE_DISABLE=	sse2
28
SSE2_CFLAGS=	-msse2
31
29
32
.if ${PORT_OPTIONS:MSSE2}
33
CONFIGURE_ARGS+=	--enable-sse2
34
CFLAGS+=		-msse2
35
.else
36
CONFIGURE_ARGS+=	--disable-sse2
37
.endif
38
39
post-install:
30
post-install:
40
	@if [ ! -f ${PREFIX}/etc/tarsnap.conf ]; then \
31
	@if [ ! -f ${PREFIX}/etc/tarsnap.conf ]; then \
41
	    ${CP} -p ${PREFIX}/etc/tarsnap.conf.sample ${PREFIX}/etc/tarsnap.conf ; \
32
	    ${CP} -p ${PREFIX}/etc/tarsnap.conf.sample ${PREFIX}/etc/tarsnap.conf ; \

Return to bug 180546