mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
36 lines
813 B
Makefile
36 lines
813 B
Makefile
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= notecase
|
|
PORTVERSION= 1.9.8
|
|
PORTREVISION= 10
|
|
CATEGORIES= deskutils textproc
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Hierarchical text notes manager
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USE_GNOME= gtk20 gtksourceview2 gnomevfs2
|
|
USES= dos2unix gmake desktop-file-utils gettext pkgconfig shared-mime-info
|
|
|
|
DOS2UNIX_REGEX= .*\.(c|h|cpp)
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PORTDOCS= help.ncd
|
|
INSTALL_TARGET= install docinstall
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^prefix=.*|prefix=${PREFIX}|' \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notecase
|
|
|
|
.include <bsd.port.mk>
|