1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/chinese/autoconvert/Makefile
Mathieu Arnold dbbfc7889a GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN

Some ports have a local mirror configured but for security reasons, it
is not considered upstream.

Sponsored by:	Absolight
2016-09-14 15:59:34 +00:00

38 lines
955 B
Makefile

# Created by: Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw>
# $FreeBSD$
PORTNAME= autoconvert
PORTVERSION= 0.3.16
PORTREVISION= 5
CATEGORIES= chinese
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= libhz
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Intelligent Chinese encoding converter
BROKEN= Unfetchable (google code has gone away)
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|CFLAG|CFLAGS|' -e 's|make|$$(MAKE)|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's|LIBS=|&${LDFLAGS} |' \
-e 's|CFLAGS=|&${CPPFLAGS} ${CFLAGS} |' \
${WRKSRC}/Makefile ${WRKSRC}/hzconvert/Makefile
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>