mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
38 lines
910 B
Makefile
38 lines
910 B
Makefile
# New ports collection makefile for: edonkey hash tool
|
|
# Date created: Wed Feb 20 18:03:49 BRT 2002
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= edonkey
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ed2k-tools
|
|
PKGNAMESUFFIX= -tool-hash
|
|
DISTNAME= ed2k_hash-${PORTVERSION}
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links
|
|
|
|
PLIST_FILES= bin/edonkey-tool-hash
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/ed2k_hash-${PORTVERSION}
|
|
|
|
post-patch:
|
|
# respect CFLAGS
|
|
@${REINPLACE_CMD} -E -e \
|
|
's|-O2||' \
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
do-install:
|
|
# uphold POLA, do not change binary name
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/ed2k_hash/ed2k_hash \
|
|
${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
.include <bsd.port.mk>
|