1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net-im/kpopup/Makefile
2010-02-05 11:46:55 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: KPopup
# Date created: Apr 4, 2003
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#
# $Tecnik: ports/net-im/kpopup/Makefile,v 1.8 2006/01/30 14:17:07 itetcu Exp $
#
PORTNAME= kpopup
PORTVERSION= 0.9.8.2
PORTREVISION= 5
CATEGORIES= net-im kde
MASTER_SITES= http://www.henschelsoft.de/kpopup/ \
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
MAINTAINER= itetcu@FreeBSD.org
COMMENT= KDE program for sending and receiving MS Windows WinPopup messages
RUN_DEPENDS= smbclient:${PORTSDIR}/net/samba3
SUB_FILES= pkg-message
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
INSTALLS_ICONS= yes
KPOPUP_DIR= /var/tmp/kpopup
post-patch:
@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/src/make_popup.cpp
@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/admin/ltmain.sh
@${REINPLACE_CMD} "s^/usr/bin^${LOCALBASE}/bin^; s^/var/lib/kpopup^${KPOPUP_DIR}^" \
${WRKSRC}/src/misc.h
.ifdef NOPORTDOCS
@${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in
.endif
post-install:
@${MKDIR} ${KPOPUP_DIR} && ${CHMOD} 777 ${KPOPUP_DIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>