2022-08-11 07:08:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.43 2022/08/11 05:08:06 gutteridge Exp $
|
2012-12-17 02:16:28 +01:00
|
|
|
|
2020-01-11 02:34:11 +01:00
|
|
|
DISTNAME= Phone-0.6.0
|
|
|
|
PKGNAME= deforaos-phone-0.6.0
|
2022-08-11 07:08:00 +02:00
|
|
|
PKGREVISION= 6
|
2012-12-17 02:16:28 +01:00
|
|
|
CATEGORIES= comms net
|
2020-01-11 02:34:11 +01:00
|
|
|
MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Phone/
|
2012-12-17 02:16:28 +01:00
|
|
|
|
|
|
|
MAINTAINER= khorben@defora.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.defora.org/
|
2012-12-17 02:16:28 +01:00
|
|
|
COMMENT= DeforaOS desktop telephony
|
|
|
|
|
2020-01-11 02:34:11 +01:00
|
|
|
LICENSE= 2-clause-bsd
|
2012-12-17 02:16:28 +01:00
|
|
|
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
USE_TOOLS+= xgettext
|
|
|
|
|
2013-06-15 14:56:27 +02:00
|
|
|
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
|
2012-12-17 02:16:28 +01:00
|
|
|
MAKE_FLAGS+= DESTDIR=${DESTDIR}
|
|
|
|
MAKE_FLAGS+= PREFIX=${PREFIX}
|
2015-08-09 16:55:58 +02:00
|
|
|
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
|
2015-08-25 01:46:03 +02:00
|
|
|
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
2013-06-15 14:56:27 +02:00
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${PKGMANDIR} != "share/man"
|
|
|
|
post-install:
|
2014-10-23 20:33:39 +02:00
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/html1/gprs.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/gprs.html
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/html1/phone.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/phone.html
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/html1/phonectl.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/phonectl.html
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/man1/gprs.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gprs.1
|
2013-06-15 14:56:27 +02:00
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/man1/phone.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/phone.1
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/man1/phonectl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/phonectl.1
|
2014-10-23 20:33:39 +02:00
|
|
|
${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1
|
2013-06-15 14:56:27 +02:00
|
|
|
${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
|
|
|
|
${RMDIR} ${DESTDIR}${PREFIX}/share/man
|
|
|
|
.endif
|
2012-12-17 02:16:28 +01:00
|
|
|
|
2021-05-15 10:16:57 +02:00
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
|
|
|
.endif
|
2014-10-23 20:33:39 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2016-03-22 12:29:11 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2015-08-25 01:46:03 +02:00
|
|
|
.include "../../x11/deforaos-libdesktop/buildlink3.mk"
|
2014-10-23 20:33:39 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2012-12-17 02:16:28 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|