mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
bad2bd6c81
Reported by: pointyhat Approved by: portmgr (hat)
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# New ports collection makefile for: ochusha
|
|
# Date created: 15 April 2006
|
|
# Whom: sgr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ochusha
|
|
PORTVERSION= 0.5.8.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
|
MASTER_SITE_SUBDIR= ochusha/16560
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GUI BBS browser for 2ch.net
|
|
|
|
MAN1= ochusha.1
|
|
MANCOMPRESSED= no
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_BZIP2= yes
|
|
USE_GNOME= pkgconfig glib20 gtk20 libxml2
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= automake:110 autoconf:261 aclocal:110 libtool:15
|
|
|
|
DESKTOP_ENTRIES="ochusha" "A GUI BBS browser for 2ch.net" \
|
|
"${X11BASE}/share/ochusha/ochusha32.xpm" \
|
|
"Ochusha" "Application;Network;" \
|
|
false
|
|
|
|
ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal
|
|
AUTOMAKE_ARGS= -c -a
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name Makefile.* | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-DG.*_DISABLE_DEPRECATED||g'
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure \
|
|
${WRKSRC}/libmodifiedghttp/configure ${WRKSRC}/libmodifiedgtk2/configure
|
|
|
|
pre-configure:
|
|
@echo "===> Regenerating ${WRKSRC}/libmodifiedgtk2/Makefile.in"
|
|
@${RM} ${WRKSRC}/libmodifiedgtk2/aclocal.m4
|
|
@${RM} ${WRKSRC}/libmodifiedgtk2/Makefile.in
|
|
@(cd ${WRKSRC}/libmodifiedgtk2/ && \
|
|
${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} && \
|
|
${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} && \
|
|
${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF})
|
|
|
|
.include <bsd.port.mk>
|