1999-12-25 20:01:17 +01:00
|
|
|
# New ports collection makefile for: gshar+gunshar
|
|
|
|
# Date created: 28 Dec 1994
|
|
|
|
# Whom: ache
|
1994-12-28 05:44:59 +01:00
|
|
|
#
|
1999-08-25 06:25:23 +02:00
|
|
|
# $FreeBSD$
|
1994-12-28 05:44:59 +01:00
|
|
|
#
|
1998-01-23 01:43:43 +01:00
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= sharutils
|
2005-07-13 12:30:07 +02:00
|
|
|
PORTVERSION= 4.3.81
|
1996-11-12 03:19:40 +01:00
|
|
|
CATEGORIES= archivers
|
1999-12-25 20:01:17 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2005-05-02 20:05:55 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/REL-${PORTVERSION}
|
1995-04-12 06:56:21 +02:00
|
|
|
|
2005-04-20 22:55:03 +02:00
|
|
|
MAINTAINER= sylvioc@gmail.com
|
2004-03-20 23:50:24 +01:00
|
|
|
COMMENT= Pack, send and unpack shell archives; synchronize via e-mail
|
1998-01-23 01:43:43 +01:00
|
|
|
|
2005-04-22 04:12:54 +02:00
|
|
|
USE_PERL5= yes
|
1999-12-25 20:01:17 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-20 22:55:03 +02:00
|
|
|
CONFIGURE_ARGS= --program-prefix=g --disable-uucode
|
1999-12-25 20:01:17 +01:00
|
|
|
INSTALL_TARGET= install install-man
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN1= gshar.1 gunshar.1
|
2005-04-20 22:55:03 +02:00
|
|
|
INFO= sharutils
|
1994-12-28 05:44:59 +01:00
|
|
|
|
2005-04-20 22:55:03 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
2005-05-06 13:30:28 +02:00
|
|
|
PLIST_SUB+= NLS="@comment "
|
2005-04-20 22:55:03 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
.else
|
2005-05-06 13:30:28 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
2005-04-20 22:55:03 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
|
|
|
|
.endif
|
|
|
|
|
2005-04-22 04:12:54 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|@SH@|${SH}|' \
|
|
|
|
${WRKSRC}/src/mail-files.in ${WRKSRC}/src/mailshar.in
|
|
|
|
@${REINPLACE_CMD} -e 's|@PERL@|${PERL}|' ${WRKSRC}/src/remsync.in
|
2005-05-02 20:05:55 +02:00
|
|
|
@${FIND} ${WRKSRC} -name \*.c -or -name \*.h | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|uintmax_t|unsigned long long|;s|intmax_t|long long|'
|
2005-04-22 04:12:54 +02:00
|
|
|
|
1994-12-28 05:44:59 +01:00
|
|
|
.include <bsd.port.mk>
|