2013-08-15 11:16:32 +02:00
|
|
|
# Created by: Andreas Kohout <shanee@rabbit.augusta.de>
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1996-11-25 10:47:24 +01:00
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= xtar
|
|
|
|
PORTVERSION= 1.4
|
2015-03-07 15:48:12 +01:00
|
|
|
PORTREVISION= 4
|
1996-11-26 08:33:30 +01:00
|
|
|
CATEGORIES= misc
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= XCONTRIB/utilities
|
1996-11-25 10:47:24 +01:00
|
|
|
|
2005-02-19 07:03:21 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= View and manipulate contents of a tar file
|
1996-11-25 10:47:24 +01:00
|
|
|
|
2013-08-15 11:16:32 +02:00
|
|
|
USES= motif
|
2009-06-09 17:33:28 +02:00
|
|
|
USE_XORG= ice sm x11 xext xp xt
|
2013-08-15 11:16:32 +02:00
|
|
|
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
|
1996-11-25 10:47:24 +01:00
|
|
|
|
2013-08-15 11:16:32 +02:00
|
|
|
post-patch:
|
2014-06-13 15:15:03 +02:00
|
|
|
@${REINPLACE_CMD} -E 's,(APP|BIN|LIB|MAN)DIR),DESTDIR)$$(&,' \
|
|
|
|
${WRKSRC}/Makefile.noimake
|
2013-08-15 11:16:32 +02:00
|
|
|
@${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}
|
|
|
|
|
1996-11-25 10:47:24 +01:00
|
|
|
.include <bsd.port.mk>
|