mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
36 lines
986 B
Makefile
36 lines
986 B
Makefile
# Created by: Andreas Kohout <shanee@rabbit.augusta.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xtar
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= misc
|
|
MASTER_SITES= 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>
|