1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/deskutils/adesklets/Makefile
2014-07-23 16:44:27 +00:00

58 lines
1.2 KiB
Makefile

# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$
PORTNAME= adesklets
PORTVERSION= 0.6.1
PORTREVISION= 9
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28core%29/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Imlib2 console for the X Window system
RUN_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
GNU_CONFIGURE= yes
USE_PYTHON= yes
USE_EFL= imlib2
USES= iconv gmake tar:bzip2
MAN1= adesklets.1 \
adesklets_checkin.1 \
adesklets_installer.1 \
adesklets_submit.1
INFO= adesklets \
adesklets_fr
SUB_FILES= pkg-message
INSTALLS_EGGINFO= yes
LDFLAGS+= ${ICONV_LIB}
.if !defined(WITHOUT_PERL)
USES+= perl5
PLIST_SUB+= PERL=""
.else
CONFIGURE_ARGS+= --without-perl-support
PLIST_SUB+= PERL="@comment "
.endif
.if defined(WITHOUT_HISTORY)
CONFIGURE_ARGS+= --without-history
.endif
NO_STAGE= yes
pre-everything::
@${ECHO_MSG} "You may specify the following on the command line:"
@${ECHO_MSG} ""
@${ECHO_MSG} "WITHOUT_PERL=yes to disable perl support"
@${ECHO_MSG} "WITHOUT_HISTORY=yes to disable history support in interactive mode"
@${ECHO_MSG} ""
post-extract:
@${REINPLACE_CMD} -e 's| sed | gsed |g' ${WRKSRC}/utils/adesklets_frontend.sh.in
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>