| @@ -1,40 +1,44 @@ | | | @@ -1,40 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.20 2021/12/08 16:03:27 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2022/07/11 12:15:17 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ctrlproxy-3.0.8 | | 4 | DISTNAME= ctrlproxy-3.0.8 |
5 | PKGREVISION= 15 | | 5 | PKGREVISION= 15 |
6 | CATEGORIES= chat | | 6 | CATEGORIES= chat |
7 | MASTER_SITES= http://www.ctrlproxy.org/releases/ | | 7 | MASTER_SITES= http://www.ctrlproxy.org/releases/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.ctrlproxy.org/ | | 10 | HOMEPAGE= http://www.ctrlproxy.org/ |
11 | COMMENT= Detachable internet relay chat proxy server | | 11 | COMMENT= Detachable internet relay chat proxy server |
12 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
13 | | | 13 | |
14 | USE_PKGLOCALEDIR= yes | | 14 | USE_PKGLOCALEDIR= yes |
15 | USE_TOOLS+= pkg-config gmake | | 15 | USE_TOOLS+= pkg-config gmake |
16 | USE_LANGUAGES= c99 | | 16 | USE_LANGUAGES= c99 |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | PKG_SYSCONFSUBDIR= ctrlproxy | | 18 | PKG_SYSCONFSUBDIR= ctrlproxy |
19 | | | 19 | |
20 | CONF_FILES= ${PREFIX}/share/examples/ctrlproxy/motd \ | | 20 | CONF_FILES= ${PREFIX}/share/examples/ctrlproxy/motd \ |
21 | ${PKG_SYSCONFDIR}/motd | | 21 | ${PKG_SYSCONFDIR}/motd |
22 | CONF_FILES+= ${PREFIX}/share/examples/ctrlproxy/config.default \ | | 22 | CONF_FILES+= ${PREFIX}/share/examples/ctrlproxy/config.default \ |
23 | ${PKG_SYSCONFDIR}/config | | 23 | ${PKG_SYSCONFDIR}/config |
24 | | | 24 | |
25 | PKGCONFIG_OVERRIDE+= ctrlproxy.pc.in | | 25 | PKGCONFIG_OVERRIDE+= ctrlproxy.pc.in |
26 | INSTALLATION_DIRS+= share/examples/ctrlproxy | | 26 | INSTALLATION_DIRS+= share/examples/ctrlproxy |
27 | | | 27 | |
| | | 28 | BUILDLINK_TRANSFORM+= rm:-ansi |
| | | 29 | |
| | | 30 | LDFLAGS.SunOS+= -lsocket -lnsl |
| | | 31 | |
28 | .include "options.mk" | | 32 | .include "options.mk" |
29 | | | 33 | |
30 | post-install: | | 34 | post-install: |
31 | cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} DESTDIR=${DESTDIR} ${MAKE} install | | 35 | cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} DESTDIR=${DESTDIR} ${MAKE} install |
32 | ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ctrlproxy/README | | 36 | ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ctrlproxy/README |
33 | ${INSTALL_DATA} ${WRKSRC}/motd \ | | 37 | ${INSTALL_DATA} ${WRKSRC}/motd \ |
34 | ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/motd | | 38 | ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/motd |
35 | ${INSTALL_DATA} ${WRKSRC}/config.default \ | | 39 | ${INSTALL_DATA} ${WRKSRC}/config.default \ |
36 | ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.default | | 40 | ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.default |
37 | ${INSTALL_DATA} ${WRKSRC}/config.example \ | | 41 | ${INSTALL_DATA} ${WRKSRC}/config.example \ |
38 | ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.example | | 42 | ${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.example |
39 | | | 43 | |
40 | .include "../../devel/glib2/buildlink3.mk" | | 44 | .include "../../devel/glib2/buildlink3.mk" |