mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
034b4e6d7d
PR: 213725
34 lines
963 B
Makefile
34 lines
963 B
Makefile
# Created by: roam@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= safecat
|
|
PORTVERSION= 1.13
|
|
CATEGORIES= sysutils mail
|
|
MASTER_SITES= http://www.jeenyus.net/linux/software/safecat/ \
|
|
LOCAL/roam/sysutils/safecat \
|
|
http://people.FreeBSD.org/~roam/ports/sysutils/safecat/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Safely write data to maildir directory
|
|
|
|
LICENSE= BSD4CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= groff
|
|
ALL_TARGET= it
|
|
INSTALL_TARGET= setup check
|
|
MAKE_JOBS_UNSAFE=yes
|
|
|
|
PLIST_FILES= bin/maildir bin/safecat man/man1/maildir.1.gz \
|
|
man/man1/safecat.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,/usr/local,${STAGEDIR}${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
|
|
@${REINPLACE_CMD} 's|HOME|${PREFIX}|' ${WRKSRC}/maildir.sh
|
|
|
|
.include <bsd.port.mk>
|