blob: a61211061257e0e5e52b6faa4a14a0969a8f05fc (
plain)
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
|
# $NetBSD: Makefile,v 1.2 2008/01/09 19:21:08 drochner Exp $
#
DISTNAME= fotox.34
PKGNAME= fotox-34
CATEGORIES= graphics
MASTER_SITES= http://kornelix.squarespace.com/storage/fotox/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://kornelix.squarespace.com/fotox/
COMMENT= Simple image manipulation program
WRKSRC= ${WRKDIR}/fotox
USE_LANGUAGES= c++
USE_TOOLS+= pkg-config
FDATA= ${PREFIX}/share/fotox
SUBST_CLASSES+= data
SUBST_STAGE.data= pre-build
SUBST_FILES.data= zfuncs.cpp
SUBST_VARS.data= FDATA
do-build:
(cd ${WRKSRC} && ${SH} build ${PREFIX}/bin y)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fotox ${PREFIX}/bin
${INSTALL_DATA_DIR} ${FDATA}
${INSTALL_DATA} ${WRKSRC}/parameters.txt ${FDATA}
${CP} -r ${WRKSRC}/icons ${FDATA}
${INSTALL_DATA} ${WRKSRC}/fotox-guide.pdf ${FDATA}
${INSTALL_DATA} ${WRKSRC}/*.xtext ${FDATA}
${INSTALL_DATA} ${WRKSRC}/fotox.desktop ${PREFIX}/share/applications
.include "../../x11/gtk2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|