blob: 24540d7afd1a738c38dd72f67616f3d63daeb926 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: dolly+
# Date created: Thu Jul 15 10:13:27 UTC 2004
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dolly+
PORTVERSION= 0.93
CATEGORIES= sysutils net
MASTER_SITES= http://corvus.kek.jp/~manabe/pcf/dolly/
DISTNAME= dolly${PORTVERSION:S/./_/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Improved version of dolly harddisk/partition network clone utility
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
PROGRAM_BIN_FILES= dollyC
PROGRAM_SBIN_FILES= dollyS dping
PLIST_FILES= bin/dollyC \
sbin/dollyS \
sbin/dping
do-configure:
# CXX{,FLAGS}, PTHREAD_* safeness
@${REINPLACE_CMD} -E \
-e 's|g\+\+|${CXX}|' \
-e 's|^(CXXFLAGS[[:space:]]*=.*)$$|\1 ${CXXFLAGS} ${PTHREAD_CFLAGS}|' \
-e 's|-lpthread|${PTHREAD_LIBS}|g' \
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
.for file in ${PROGRAM_BIN_FILES}
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/
.endfor
.for file in ${PROGRAM_SBIN_FILES}
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/sbin/
.endfor
.include <bsd.port.mk>
|