aboutsummaryrefslogtreecommitdiff
path: root/sysutils/safecat/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-11-02 17:36:45 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-11-02 17:36:45 +0000
commit820be03b521991c98fea6fec8811c6dce0ceef5c (patch)
tree2c4b752d6bf81d34c3106276bb1f9612316c509d /sysutils/safecat/Makefile
parent1356fcd32b17c44d45edc6acf7911abb70312146 (diff)
downloadports-820be03b521991c98fea6fec8811c6dce0ceef5c.tar.gz
ports-820be03b521991c98fea6fec8811c6dce0ceef5c.zip
Notes
Diffstat (limited to 'sysutils/safecat/Makefile')
-rw-r--r--sysutils/safecat/Makefile33
1 files changed, 17 insertions, 16 deletions
diff --git a/sysutils/safecat/Makefile b/sysutils/safecat/Makefile
index 373a6b87fba2..0671b889566f 100644
--- a/sysutils/safecat/Makefile
+++ b/sysutils/safecat/Makefile
@@ -1,30 +1,31 @@
-# New ports collection makefile for: safecat
-# Date created: 27 November 2000
-# Whom: roam@FreeBSD.org
-#
+# Created by: roam@FreeBSD.org
# $FreeBSD$
-#
PORTNAME= safecat
PORTVERSION= 1.13
CATEGORIES= sysutils mail
-MASTER_SITES= http://jeenyus.net/~budney/linux/software/safecat/ \
- ${MASTER_SITE_LOCAL:S/local-distfiles/local-distfiles\/roam/} \
- ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= http://www.jeenyus.net/linux/software/safecat/ \
+ LOCAL/roam/sysutils/safecat \
http://people.FreeBSD.org/~roam/ports/sysutils/safecat/
-MASTER_SITE_SUBDIR= utils/file
MAINTAINER= ports@FreeBSD.org
-COMMENT= Safely write data to a directory using D. J. Bernstein's Maildir ideology
+COMMENT= Safely write data to maildir directory
-MAN1= safecat.1 maildir.1
-
-do-configure:
- ${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root
- ${REINPLACE_CMD} -e "s,cc -O2,${CC} ${CFLAGS}," ${WRKSRC}/conf-cc
- ${REINPLACE_CMD} -e "s,cc -s,${CC} ${CFLAGS} ${STRIP}," ${WRKSRC}/conf-ld
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYING
ALL_TARGET= it
INSTALL_TARGET= setup check
+MAKE_JOBS_UNSAFE=yes
+
+MAN1= maildir.1 safecat.1
+PLIST_FILES= bin/maildir bin/safecat
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root
+ @${REINPLACE_CMD} -e "s,cc -O2,${CC} ${CFLAGS}," ${WRKSRC}/conf-cc
+ @${REINPLACE_CMD} -e "s,cc -s,${CC} ${CFLAGS} ${STRIP}," ${WRKSRC}/conf-ld
+ @${REINPLACE_CMD} 's|void main|int main|' \
+ ${WRKSRC}/install.c ${WRKSRC}/auto-str.c
.include <bsd.port.mk>