forked from Lainports/freebsd-ports
- Remove USE_AUTOTOOLS
- Replace CONFIGURE_ARGS with CPPFLAGS/LIBS - Use default do-install
This commit is contained in:
parent
1d246d1bc1
commit
8f0bfdb99c
2 changed files with 14 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
12
comms/aldo/files/patch-configure
Normal file
12
comms/aldo/files/patch-configure
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue