60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
40 lines
883 B
Makefile
40 lines
883 B
Makefile
# Created by: Andreev Maxim
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xarchiver
|
|
PORTVERSION= 0.5.4
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= SF/${PORTNAME:tl}
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils \
|
|
7zr:${PORTSDIR}/archivers/p7zip \
|
|
zip:${PORTSDIR}/archivers/zip
|
|
|
|
USES= tar:bzip2 gmake pkgconfig desktop-file-utils
|
|
USE_GNOME= glib20 gtk20 intltool
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CPPFLAGS+= -I${LOCALBASE}/include
|
|
NLS_LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
.if empty(PORT_OPTIONS:MDOCS)
|
|
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|