Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 13:22:06 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370062 - in head/comms/aldo: . files
Message-ID:  <201410051322.s95DM670089608@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Oct  5 13:22:06 2014
New Revision: 370062
URL: https://svnweb.freebsd.org/changeset/ports/370062
QAT: https://qat.redports.org/buildarchive/r370062/

Log:
  - Remove USE_AUTOTOOLS
  - Replace CONFIGURE_ARGS with CPPFLAGS/LIBS
  - Use default do-install

Added:
  head/comms/aldo/files/patch-configure   (contents, props changed)
Modified:
  head/comms/aldo/Makefile

Modified: head/comms/aldo/Makefile
==============================================================================
--- head/comms/aldo/Makefile	Sun Oct  5 13:00:37 2014	(r370061)
+++ head/comms/aldo/Makefile	Sun Oct  5 13:22:06 2014	(r370062)
@@ -14,24 +14,12 @@ COMMENT=	Morse code training program
 LIB_DEPENDS=	libao.so:${PORTSDIR}/audio/libao
 
 GNU_CONFIGURE=	yes
-USE_AUTOTOOLS=	autoconf automake
-CONFIGURE_ARGS=	--includedir="${LOCALBASE}/include" \
-		--libdir="${LOCALBASE}/lib"
+CPPFLAGS+=	-I${LOCALBASE}/include
+LIBS+=		-L${LOCALBASE}/lib
 USES=		gmake libtool tar:bzip2
 USE_GCC=	any
 
 PLIST_FILES=	bin/aldo \
 		man/man1/aldo.1.gz
 
-AUTOTOOLSFILES=	aclocal.m4
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|1.10|%%AUTOMAKE_APIVER%%|g' \
-			  -e 's|2.61|%%AUTOCONF_VERSION%%|g' \
-			  ${WRKSRC}/aclocal.m4
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/aldo ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/aldo.1 ${STAGEDIR}${MANPREFIX}/man/man1
-
 .include <bsd.port.mk>

Added: head/comms/aldo/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/aldo/files/patch-configure	Sun Oct  5 13:22:06 2014	(r370062)
@@ -0,0 +1,12 @@
+--- configure.orig	2007-11-05 09:22:11 UTC
++++ configure
+@@ -2220,9 +2220,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
+ 
+ 
+ 
+-CPPFLAGS="-I${includedir}"
+-LDFLAGS="-L${libdir}"
+-LIBS="-L${libdir} ${LIBS}"
+ 
+ # Checks for programs.
+ ac_ext=cpp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410051322.s95DM670089608>