blob: cfc735fffe1741d93aeb9c8c7daa06b3d6e70d66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= notecase
PORTVERSION= 1.9.8
PORTREVISION= 9
CATEGORIES= deskutils textproc
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
MAINTAINER= martymac@FreeBSD.org
COMMENT= Hierarchical text notes manager
LICENSE= BSD
USE_GMAKE= yes
USE_GNOME= gtk20 gtksourceview2 gnomevfs2
USES= desktop-file-utils gettext pkgconfig shared-mime-info
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(c|h|cpp)
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
.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
.include <bsd.port.mk>
|