summaryrefslogblamecommitdiff
path: root/devel/libtar/Makefile
blob: c6abac9570812131ec911879f23236e77c7c1c35 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                              

                      
                 
                     
                                                       
 

                                                                  
 
                           
                           
                   
                                                               
                                              



                                                               
 
                          
                         




                     
                           
# New ports collection makefile for:   libtar
# Date created:        06 January 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $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
USE_LDCONFIG=	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 <bsd.port.pre.mk>
.include "files/manpages"

.if ${ARCH}!="i386"
CPPFLAGS+=	-fPIC
.endif

.include <bsd.port.post.mk>