diff options
author | pawel <pawel@FreeBSD.org> | 2012-11-03 01:36:45 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-11-03 01:36:45 +0800 |
commit | 2e6bd456955e5ddf4a5da71047a9204b9ea71b25 (patch) | |
tree | 2c4b752d6bf81d34c3106276bb1f9612316c509d | |
parent | 815a85ec7bb33a256339f1cde62d43fabef59e3c (diff) | |
download | freebsd-ports-gnome-2e6bd456955e5ddf4a5da71047a9204b9ea71b25.tar.gz freebsd-ports-gnome-2e6bd456955e5ddf4a5da71047a9204b9ea71b25.tar.zst freebsd-ports-gnome-2e6bd456955e5ddf4a5da71047a9204b9ea71b25.zip |
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Add MAKE_JOBS_UNSAFE
- Switch to PLIST_FILES
While here:
- Correct COMMENT's length
- Fix build with clang
PR: ports/172253
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Feature safe: yes
-rw-r--r-- | sysutils/safecat/Makefile | 33 | ||||
-rw-r--r-- | sysutils/safecat/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/safecat/pkg-plist | 2 |
3 files changed, 19 insertions, 20 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> diff --git a/sysutils/safecat/pkg-descr b/sysutils/safecat/pkg-descr index 4802ce92cd46..25fc0ea39820 100644 --- a/sysutils/safecat/pkg-descr +++ b/sysutils/safecat/pkg-descr @@ -16,5 +16,5 @@ From the safecat README: possible. However, safecat takes every precaution possible in writing your data. -Author: Len Budney <lbudney@pobox.com> -WWW: http://www.pobox.com/~lbudney/linux/software/safecat.html +Author: Len Budney <lbudney@pobox.com> +WWW: http://www.jeenyus.net/linux/software/safecat.html diff --git a/sysutils/safecat/pkg-plist b/sysutils/safecat/pkg-plist deleted file mode 100644 index 2f63b6454255..000000000000 --- a/sysutils/safecat/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/safecat -bin/maildir |