freebsd-ports/misc/xtar/Makefile

35 lines
980 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
PORTREVISION= 3
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= 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
PLIST_DIRS= lib/X11/xtar
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
.include <bsd.port.mk>