summaryrefslogtreecommitdiff
path: root/archivers/sharutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/sharutils/Makefile')
-rw-r--r--archivers/sharutils/Makefile25
1 files changed, 17 insertions, 8 deletions
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile
index 06a8eaedd91f..370430e6f903 100644
--- a/archivers/sharutils/Makefile
+++ b/archivers/sharutils/Makefile
@@ -1,22 +1,31 @@
# New ports collection makefile for: gshar+gunshar
-# Version required: 4.1.4
+# Version required: 4.2
# Date created: 28 Dec 1994
# Whom: ache
#
-# $Id: Makefile,v 1.9 1996/11/18 13:55:45 asami Exp $
+# $Id: Makefile,v 1.10 1997/05/28 22:36:58 ache Exp $
#
-DISTNAME= sharutils-4.1.4
+DISTNAME= sharutils-4.2
CATEGORIES= archivers
-MASTER_SITES= ftp://ftp.iro.umontreal.ca/pub/contrib/pinard/gnu/
+MASTER_SITES= ${MASTER_SITE_GNU}
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --program-prefix=g --disable-uucode --prefix=${PREFIX}
+CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
MAN1= gshar.1 gunshar.1
post-patch:
- @touch ${WRKSRC}/stamp-cod
- @touch ${WRKSRC}/sharutils.cod
- @touch ${WRKSRC}/locale.c
+ @touch ${WRKSRC}/po/sharutils.pot
+
+post-install:
+.for file in gshar gunshar
+ strip ${PREFIX}/bin/${file}
+.endfor
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+.for info in remsync.info sharutils.info
+ install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
+.endfor
.include <bsd.port.mk>