1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net-im/komclean/Makefile
Baptiste Daroussin 93252a9afe Resetting maintainership on ports that have not been staged and without any
pending PR (related to stage)

With hat:	portmgr
2014-07-06 15:24:02 +00:00

56 lines
1.3 KiB
Makefile

# Created by: smyru@heron.pl
# $FreeBSD$
PORTNAME= komclean
PORTVERSION= 1.2.1
CATEGORIES= net-im
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/kom/KOM/}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Web based LysKOM client
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/Copyright.txt
USES= gmake
USE_XORG= x11 xext xextproto xpm
INSTALLS_ICONS= yes
MAN1= komclean
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DESKTOP_ENTRIES="KOMclean" \
"${COMMENT}" \
"${PREFIX}/share/pixmaps/komclean.xpm" \
"komclean" \
"" \
false
NO_STAGE= yes
.include <bsd.port.pre.mk>
pre-everything::
.ifndef(WITH_PORT)
@${ECHO_MSG}
@${ECHO_MSG} "Define WITH_PORT=[port number] to change default port 8080"
@${ECHO_MSG}
.endif
pre-build:
.ifdef(WITH_PORT)
${REINPLACE_CMD} 's,8080,'${WITH_PORT}',' ${WRKSRC}/src/webui/httpserver.cpp
.endif
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/komclean ${PREFIX}/bin
@${MKDIR} ${DATADIR}/html/img
@${INSTALL_DATA} ${WRKSRC}/html/img/*.* ${DATADIR}/html/img
@${INSTALL_DATA} ${WRKSRC}/html/*.* ${DATADIR}/html
@${INSTALL_DATA} ${WRKSRC}/icon/icon_normal.xpm ${PREFIX}/share/pixmaps/komclean.xpm
@${INSTALL_MAN} ${WRKSRC}/komclean.1 ${MANPREFIX}/man/man1/komclean
.include <bsd.port.post.mk>