1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/misc/xtar/Makefile
Alexey Dokuchaev 862f8cf6d4 - Do not use imake for the build; use provided Makefile.noimake: this
allows to build it with bmake(1) (as well as other implementations)
- Unbreak the build against Clang (main() must return int)
- Sanitize formatting of the port description while I am here

Reported by:	marino
2013-08-15 09:16:32 +00:00

33 lines
878 B
Makefile

# Created by: Andreas Kohout <shanee@rabbit.augusta.de>
# $FreeBSD$
PORTNAME= xtar
PORTVERSION= 1.4
PORTREVISION= 3
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= 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=:
MAN1= xtar.1
PLIST_FILES= bin/xtar lib/X11/xtar/xtar.doc lib/X11/app-defaults/XTar
PLIST_DIRS= lib/X11/xtar
post-patch:
@${REINPLACE_CMD} -e 's/pipe\.c/& regexpr.c/' \
${WRKSRC}/common/Makefile.noimake
.include <bsd.port.mk>