mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
a52367279c
application (.desktop file). - Convert to new options framework PR: 163924 Approved by: miwi, rene (mentors), maintainer timeout (6 months)
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# New ports collection makefile for: xarchiver
|
|
# Date created: 27 Mart 2008
|
|
# Whom: Andreev Maxim
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xarchiver
|
|
PORTVERSION= 0.5.2
|
|
PORTREVISION= 6
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= andreevmaxim@gmail.com
|
|
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
|
|
|
|
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= glib20 gtk20 intltool pkgconfig desktopfileutils
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !empty(PORT_OPTIONS:MNLS)
|
|
USE_GETTEXT= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|;multipart/x-zip||' \
|
|
${WRKSRC}/xarchiver.desktop.in
|
|
.if defined(NOPORTDOCS)
|
|
@${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
|
|
|
|
post-install:
|
|
@-update-desktop-database
|
|
|
|
.include <bsd.port.mk>
|