2007-07-29 00:03:45 +02:00
|
|
|
# New ports collection makefile for: notecase
|
|
|
|
# Date created: 19 July 2007
|
|
|
|
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= notecase
|
|
|
|
PORTVERSION= 1.5.8
|
|
|
|
CATEGORIES= deskutils textproc
|
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
|
|
|
|
|
2008-03-02 09:25:11 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-07-29 00:03:45 +02:00
|
|
|
COMMENT= A hierarchical text notes manager
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gtk20 gnomevfs2 desktopfileutils
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET= install docinstall
|
|
|
|
.endif
|
|
|
|
|
2007-10-27 20:45:01 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 600000
|
|
|
|
BROKEN= Does not compile
|
|
|
|
.endif
|
|
|
|
|
2007-07-29 00:03:45 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|prefix=/usr|prefix=${PREFIX}|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@-update-mime-database ${PREFIX}/share/mime
|
|
|
|
@-update-desktop-database
|
|
|
|
|
2007-10-27 20:45:01 +02:00
|
|
|
.include <bsd.port.post.mk>
|