77a60a24f4
- Fix build on any non amd64 arch Notified by: linimon Feature safe: yes
42 lines
965 B
Makefile
42 lines
965 B
Makefile
# Ports collection makefile for: tardy
|
|
# Date created: Jan 14, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tardy
|
|
PORTVERSION= 1.25
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= CRITICAL
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Manipulate the file headers in tar archive files in various ways
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
|
|
${LOCALBASE}/include/libiberty/libiberty.h:${PORTSDIR}/devel/gnulibiberty
|
|
LIB_DEPENDS= explain.45:${PORTSDIR}/devel/libexplain
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAN1= tardy.1
|
|
PLIST_FILES= bin/tardy
|
|
|
|
post-patch:
|
|
.for var in CFLAGS LDFLAGS
|
|
@${REINPLACE_CMD} -e 's|^\(${var}\)\ =\ \(.*\)|\1 ?= \2|' \
|
|
${WRKSRC}/Makefile.in
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/${MAN1} ${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|