1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/deskutils/notecase/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

44 lines
925 B
Makefile

# New ports collection makefile for: notecase
# Date created: 19 July 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= notecase
PORTVERSION= 1.9.8
PORTREVISION= 7
CATEGORIES= deskutils textproc
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
MAINTAINER= martymac@FreeBSD.org
COMMENT= A hierarchical text notes manager
LICENSE= BSD
USE_GMAKE= yes
USE_GNOME= gtk20 gtksourceview2 gnomevfs2 desktopfileutils pkgconfig
USES= gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= help.ncd
INSTALL_TARGET= install docinstall
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^prefix=.*|prefix=${PREFIX}|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
${WRKSRC}/Makefile
post-install:
@-update-mime-database ${PREFIX}/share/mime
@-update-desktop-database
.include <bsd.port.mk>