f5ebd23a61
Remove the libXp dependency from a number of ports using imake and/or motif. libXp is being deprecated. The list of ports: audio/xmcd audio/xmmix deskutils/xmdiary ftp/llnlxdir ftp/llnlxftp graphics/SciPlot misc/xtar multimedia/mpeg2play
36 lines
988 B
Makefile
36 lines
988 B
Makefile
# Created by: Andreas Kohout <shanee@rabbit.augusta.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xtar
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 5
|
|
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="${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>
|