freebsd-ports/archivers/file-roller/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: fileroller
# Date created: 18 May 2002
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fileroller
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= file-roller-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= bzip:${PORTSDIR}/archivers/bzip \
lha:${PORTSDIR}/archivers/lha \
rar:${PORTSDIR}/archivers/rar \
lzop:${PORTSDIR}/archivers/lzop
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|\$$\(datadir\)/gnome/apps|\$$\(datadir\)/apps|g ; \
s|\$$\(datadir\)/gnome/help|\$$\(datadir\)/help|g ; \
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in AUTHORS NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>