blob: 283763fa18afaae53706ddaf7b40f3a98890f017 (
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
40
41
42
|
PORTNAME= qqwing
PORTVERSION= 1.3.3
CATEGORIES= games gnome
MASTER_SITES= http://github.com/stephenostermiller/${PORTNAME}/archive/v${PORTVERSION}.zip?dummy=/
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Sudoku generating and solving software
BUILD_DEPENDS= automake>=0:${PORTSDIR}/devel/automake \
autoconf>=0:${PORTSDIR}/devel/autoconf \
libtool:${PORTSDIR}/devel/libtool
USES= gmake libtool pathfix pkgconfig
USE_GNOME= glib20 gnomehier introspection:build
USE_LDCONFIG= yes
CONFIGURE_ENV+= CC=cc CXX=c++ CPP=cpp
post-patch:
@${REINPLACE_CMD} -e 's|exit 1|exit 0|g' \
${WRKSRC}/build/not_root_check.sh
@${REINPLACE_CMD} -e 's|touch --date 1980-01-01|touch |g' \
${WRKSRC}/build/*.sh
@${REINPLACE_CMD} -e 's|sudo||g' \
${WRKSRC}/build/cpp_install.sh
do-build:
@(cd ${WRKSRC} && ${SH} build/cpp_configure.sh && ${SH} build/cpp_compile.sh && ${SH} build/cpp_dist.sh)
do-install:
@(cd ${WRKSRC}/target/automake/.libs && ${CP} libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib)
@(${LN} -fs ${PREFIX}/lib/libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib/libqqwing.so.2.0.3)
@(${LN} -fs ${PREFIX}/lib/libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib/libqqwing.so)
@(cd ${WRKSRC}/target/automake/ && ${CP} qqwing.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig)
@(cd ${WRKSRC}/target/automake/ && ${CP} qqwing.hpp ${STAGEDIR}${PREFIX}/include)
@(cd ${WRKSRC}/target/automake/ && ${CP} qqwing ${STAGEDIR}${PREFIX}/bin)
@(cd ${WRKSRC}/target/automake/ && ${GZIP_CMD} qqwing.1 && ${CP} qqwing.1.gz ${STAGEDIR}${PREFIX}/man/man1/)
.include <bsd.port.mk>
|