freebsd-ports/misc/xtar/Makefile

36 lines
986 B
Makefile
Raw Normal View History

# Created by: Andreas Kohout <shanee@rabbit.augusta.de>
1999-08-25 09:23:21 +02:00
# $FreeBSD$
2000-04-14 10:49:30 +02:00
PORTNAME= xtar
PORTVERSION= 1.4
2015-03-07 15:48:12 +01:00
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= XCONTRIB/utilities
MAINTAINER= ports@FreeBSD.org
2003-02-21 13:51:06 +01:00
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=:
2014-06-13 15:15:03 +02:00
PLIST_FILES= bin/xtar lib/X11/xtar/xtar.doc lib/X11/app-defaults/XTar \
man/man1/xtar.1.gz
post-patch:
2014-06-13 15:15:03 +02:00
@${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
2015-03-07 15:48:12 +01:00
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>