aboutsummaryrefslogtreecommitdiff
path: root/sysutils/scalpel
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-18 18:29:02 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-18 18:29:02 +0000
commit95f9414be936d3aacda740ff4eb7133d95d02154 (patch)
tree4c038559fb0b1cf3b2d0fa20d0428b1b5c417f24 /sysutils/scalpel
parent37d5271513ae0e2ec646dec2d5e72b85f8e52167 (diff)
downloadports-95f9414be936d3aacda740ff4eb7133d95d02154.tar.gz
ports-95f9414be936d3aacda740ff4eb7133d95d02154.zip
Notes
Diffstat (limited to 'sysutils/scalpel')
-rw-r--r--sysutils/scalpel/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/sysutils/scalpel/Makefile b/sysutils/scalpel/Makefile
index 13601e0f2531..d60a11f2532a 100644
--- a/sysutils/scalpel/Makefile
+++ b/sysutils/scalpel/Makefile
@@ -11,25 +11,22 @@ COMMENT= Frugal, high performance file carver
LICENSE= GPLv2
-LIB_DEPENDS= tre.5:${PORTSDIR}/textproc/libtre
+LIB_DEPENDS= libtre.so:${PORTSDIR}/textproc/libtre
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
-MAN1= scalpel.1
-PLIST_FILES+= etc/scalpel.conf.sample bin/scalpel
+PLIST_FILES= etc/scalpel.conf.sample bin/scalpel man/man1/scalpel.1.gz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/' \
${WRKSRC}/src/scalpel.h
post-install:
- @${CP} -p ${WRKSRC}/scalpel.conf ${PREFIX}/etc/scalpel.conf.sample
- @${CAT} ${PKGMESSAGE}
+ @${CP} -p ${WRKSRC}/scalpel.conf ${STAGEDIR}${PREFIX}/etc/scalpel.conf.sample
.include <bsd.port.mk>