- Depend on Perl (gremsync is not installed unless Perl is available).

- Fix configure-detected paths in scripts.

Reported by:	pointyhat
Approved by:	adamw (mentor), maintainer
This commit is contained in:
Jean-Yves Lefort 2005-04-22 02:12:54 +00:00
parent 5dc6fc457f
commit 09bd84b0f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133897

View file

@ -7,6 +7,7 @@
PORTNAME= sharutils
PORTVERSION= 4.3.77
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
@ -14,6 +15,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= sylvioc@gmail.com
COMMENT= Pack, send and unpack shell archives; synchronize via e-mail
USE_PERL5= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
@ -31,4 +34,9 @@ PLIST_FILES+= share/locale/${l}/LC_MESSAGES/sharutils.mo
.endfor
.endif
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
.include <bsd.port.mk>