# New ports collection makefile for: libtar # Date created: 06 January 2001 # Whom: George Reid # # $FreeBSD$ # PORTNAME= libtar PORTVERSION= 1.2.11 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ftp://ftp.feep.net/pub/software/libtar/ MAINTAINER= ports@FreeBSD.org COMMENT= A library for manipulating POSIX and GNU tar files USE_GMAKE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" post-install: ${INSTALL_DATA} ${WRKSRC}/lib/libtar.so.0 ${PREFIX}/lib ${LN} -sf libtar.so.0 ${PREFIX}/lib/libtar.so .include .include "files/manpages" .if ${ARCH}!="i386" CPPFLAGS+= -fPIC .endif .include