1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/misc/xtar/Makefile
Dmitry Marakasov c5444f3c0c - Simplify MASTER_SITES
- Strip binary
2015-03-07 14:48:12 +00:00

36 lines
998 B
Makefile

# Created by: Andreas Kohout <shanee@rabbit.augusta.de>
# $FreeBSD$
PORTNAME= xtar
PORTVERSION= 1.4
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= MASTER_SITE_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 <bsd.port.mk>