mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
1004049499
PR: 39639 Submitted by: Ports Fury
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# 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>
|