1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/misc/xtar/Makefile

33 lines
927 B
Makefile

PORTNAME= xtar
PORTVERSION= 1.4
PORTREVISION= 6
CATEGORIES= misc
MASTER_SITES= XCONTRIB/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= View and manipulate contents of a tar file
USES= motif xorg
USE_XORG= ice sm x11 xext 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="${PREFIX}/share/man/man1" OPTIMISATION="${CFLAGS}" \
ANSIFLAG=-ansi CC="${CC}" RANLIB=:
PLIST_FILES= bin/xtar lib/X11/xtar/xtar.doc lib/X11/app-defaults/XTar \
share/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 <bsd.port.mk>