openbsd-ports/archivers/gshar+gunshar/Makefile

35 lines
771 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 1999/09/06 17:15:07 brad Exp $
1997-11-14 19:04:24 -05:00
1999-06-01 23:41:30 -04:00
DISTNAME= sharutils-4.2
1997-11-14 19:04:24 -05:00
CATEGORIES= archivers
1999-06-01 23:41:30 -04:00
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= sharutils
1999-02-19 19:41:53 -05:00
NEED_VERSION= 1.114
1999-02-19 19:41:53 -05:00
MAINTAINER= ports@openbsd.org
1999-06-01 23:41:30 -04:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --disable-uucode --disable-nls
1999-02-19 19:41:53 -05:00
1999-06-01 23:41:30 -04:00
INSTALL_TARGET= install install-man
1997-11-14 19:04:24 -05:00
post-patch:
1999-06-01 23:41:30 -04:00
@${TOUCH} ${WRKSRC}/po/sharutils.pot
pre-configure:
@${RM} -f ${WRKSRC}/doc/*.info*
1997-11-14 19:04:24 -05:00
post-install:
.for file in gshar gunshar
@${STRIP} ${PREFIX}/bin/${file}
1997-11-14 19:04:24 -05:00
.endfor
1999-06-01 23:41:30 -04:00
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
1997-11-14 19:04:24 -05:00
fi
.for info in remsync.info sharutils.info
1999-06-01 23:41:30 -04:00
@install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
1997-11-14 19:04:24 -05:00
.endfor
.include <bsd.port.mk>