# Created by: Andreas Kohout # $FreeBSD: head/misc/xtar/Makefile 386312 2015-05-14 10:15:04Z mat $ PORTNAME= xtar PORTVERSION= 1.4 PORTREVISION= 4 CATEGORIES= misc MASTER_SITES= XCONTRIB/utilities MAINTAINER= ports@FreeBSD.org COMMENT= View and manipulate contents of a tar file USES= motif USE_XORG= ice sm x11 xext xp xt MAKEFILE= Makefile.noimake ALL_TARGET= ${PORTNAME} MAKE_ARGS= XINC="-I${LOCALBASE}/include" XMLIB="${MOTIFLIB}" \ APPDIR="${PREFIX}/lib/X11/app-defaults" \ BINDIR="${PREFIX}/bin" LIBDIR="${PREFIX}/lib/X11/xtar" \ MANDIR="${MAN1PREFIX}/man/man1" OPTIMISATION="${CFLAGS}" \ ANSIFLAG=-ansi CC="${CC}" RANLIB=: PLIST_FILES= bin/xtar lib/X11/xtar/xtar.doc lib/X11/app-defaults/XTar \ man/man1/xtar.1.gz post-patch: @${REINPLACE_CMD} -E 's,(APP|BIN|LIB|MAN)DIR),DESTDIR)$$(&,' \ ${WRKSRC}/Makefile.noimake @${REINPLACE_CMD} -e 's/pipe\.c/& regexpr.c/' \ ${WRKSRC}/common/Makefile.noimake post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include