This commit is contained in:
brad 1999-06-02 03:41:30 +00:00
parent 84e624d76d
commit 0a842e5364

View File

@ -1,29 +1,32 @@
# $OpenBSD: Makefile,v 1.4 1999/04/01 02:16:37 brad Exp $
# $OpenBSD: Makefile,v 1.5 1999/06/02 03:41:30 brad Exp $
DISTNAME= sharutils-4.2
DISTNAME= sharutils-4.2
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= sharutils
MAINTAINER= ports@openbsd.org
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=sharutils
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --disable-uucode --disable-nls
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --disable-uucode
INSTALL_TARGET= install install-man
INSTALL_TARGET= install install-man
post-patch:
@touch ${WRKSRC}/po/sharutils.pot
@${TOUCH} ${WRKSRC}/po/sharutils.pot
pre-configure:
@${RM} ${WRKSRC}/doc/*.info*
post-install:
.for file in gshar gunshar
strip ${PREFIX}/bin/${file}
@strip ${PREFIX}/bin/${file}
.endfor
if [ ! -f ${PREFIX}/info/dir ]; then \
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
@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
@install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
.include <bsd.port.mk>