aboutsummaryrefslogtreecommitdiffstats
path: root/security/slurpie
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-07-02 16:52:35 +0800
committerdanfe <danfe@FreeBSD.org>2007-07-02 16:52:35 +0800
commit4a81dfcd169ac732b1e77c8844b8f2ac513c5239 (patch)
treecf7e5e0c8bc525e5afdc04d62d1e60be1b74e101 /security/slurpie
parent97db48f032dddc3c40ce6f1683fc38f8a4247c81 (diff)
downloadfreebsd-ports-gnome-4a81dfcd169ac732b1e77c8844b8f2ac513c5239.tar.gz
freebsd-ports-gnome-4a81dfcd169ac732b1e77c8844b8f2ac513c5239.tar.zst
freebsd-ports-gnome-4a81dfcd169ac732b1e77c8844b8f2ac513c5239.zip
- Fix the build with GCC 4.2 [1]
- Clean up Makefile - Kill unnecessary pkg-plist Reported by: pointyhat (logs) [1]
Diffstat (limited to 'security/slurpie')
-rw-r--r--security/slurpie/Makefile16
-rw-r--r--security/slurpie/pkg-plist4
2 files changed, 12 insertions, 8 deletions
diff --git a/security/slurpie/Makefile b/security/slurpie/Makefile
index 1f10f4f6dfb4..89bc88773809 100644
--- a/security/slurpie/Makefile
+++ b/security/slurpie/Makefile
@@ -17,12 +17,20 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A passwd file cracker (supports distributed nodes)
+PLIST_FILES= sbin/slurp sbin/slurpie
+PORTDOCS= README
+
+post-patch:
+# Fix for GCC 4.2
+ @${REINPLACE_CMD} -e \
+ 's,(u_char)cfg.ptask_level = ,cfg.ptask_level = (u_int),' \
+ ${WRKSRC}/src/slurpie.c
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/slurp ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/slurpie ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/slurp* ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/slurpie
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/slurpie/README
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/slurpie/pkg-plist b/security/slurpie/pkg-plist
deleted file mode 100644
index ae4cc0a3a5d6..000000000000
--- a/security/slurpie/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-sbin/slurp
-sbin/slurpie
-%%PORTDOCS%%share/doc/slurpie/README
-%%PORTDOCS%%@dirrm share/doc/slurpie