svn commit: r403801 - head/comms/fldigi

Pawel Pekala pawel at FreeBSD.org
Tue Dec 15 19:58:18 UTC 2015


Author: pawel
Date: Tue Dec 15 19:58:16 2015
New Revision: 403801
URL: https://svnweb.freebsd.org/changeset/ports/403801

Log:
  - Remove pkg-config dependency from BUILD_DEPENDS, it's
    implied by USES=pkgconfig
  - Switch to USES=execinfo, this will use external libexecinfo
    from ports only when needed
  - Use options helpers
  - Remove usage of deprecated MAN1 variable, pkg-plist is handling this anyway
  
  PR:		205271
  Submitted by:	me
  Approved by:	shurd

Modified:
  head/comms/fldigi/Makefile

Modified: head/comms/fldigi/Makefile
==============================================================================
--- head/comms/fldigi/Makefile	Tue Dec 15 19:40:21 2015	(r403800)
+++ head/comms/fldigi/Makefile	Tue Dec 15 19:58:16 2015	(r403801)
@@ -11,18 +11,16 @@ COMMENT=	Digital decoder for psk, cw, ps
 
 LICENSE=	GPLv3
 
-BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconf \
-		asciidoc:${PORTSDIR}/textproc/asciidoc\
+BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc\
 		docbook-xsl>=1.0:${PORTSDIR}/textproc/docbook-xsl\
 		xsltproc:${PORTSDIR}/textproc/libxslt
-LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
-		libsamplerate.so:${PORTSDIR}/audio/libsamplerate\
+LIB_DEPENDS=	libsamplerate.so:${PORTSDIR}/audio/libsamplerate\
 		libboost_system.so:${PORTSDIR}/devel/boost-libs\
 		libfltk.so:${PORTSDIR}/x11-toolkits/fltk
 
 USE_CXXSTD=	gnu++0x
 GNU_CONFIGURE=	yes
-USES=		compiler:c++11-lib gmake perl5 pkgconfig shebangfix
+USES=		compiler:c++11-lib execinfo gmake perl5 pkgconfig shebangfix
 CONFIGURE_ENV=	FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \
 		    EXTRA_LIBS="-lexecinfo"
 
@@ -54,15 +52,7 @@ HAMLIB_LIB_DEPENDS=		libhamlib.so:${PORT
 NLS_CONFIGURE_ENABLE=		nls
 NLS_USES=			gettext
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN=		Fails to install
-.endif
-.if ${PORT_OPTIONS:MFLARQ}
-MAN1+=		flarq.1
-.endif
-PLIST_SUB+=	XMLRPC=""
+BROKEN_sparc64=		Fails to install
 # Always need asciidoc for man pages
 CONFIGURE_ARGS+=--with-asciidoc
 
@@ -76,11 +66,9 @@ post-configure:
 # force rebuild of man pages
 	${RM} ${WRKSRC}/doc/*.1
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${STAGEDIR}${DOCSDIR}
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list