aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/adesklets/Makefile24
-rw-r--r--deskutils/adesklets/distinfo6
-rw-r--r--deskutils/adesklets/pkg-plist6
3 files changed, 31 insertions, 5 deletions
diff --git a/deskutils/adesklets/Makefile b/deskutils/adesklets/Makefile
index 60b8d5f17c04..495f9f22ff14 100644
--- a/deskutils/adesklets/Makefile
+++ b/deskutils/adesklets/Makefile
@@ -6,18 +6,19 @@
#
PORTNAME= adesklets
-PORTVERSION= 0.5.0
+PORTVERSION= 0.6.1
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= novel@FreeBSD.org
-COMMENT= An interactive Imlib2 console for the X Window system
+COMMENT= An interactive Imlib2 console for the X Window system
LIB_DEPENDS= Imlib2.3:${PORTSDIR}/graphics/imlib2
GNU_CONFIGURE= yes
USE_PYTHON= yes
+USE_GMAKE= yes
USE_BZIP2= yes
USE_XLIB= yes
@@ -38,6 +39,25 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
.endif
+.if !defined(WITHOUT_PERL)
+USE_PERL5= yes
+PLIST_SUB+= PERL=""
+.else
+CONFIGURE_ARGS+= --without-perl-support
+PLIST_SUB+= PERL="@comment "
+.endif
+
+.if defined(WITHOUT_HISTORY)
+CONFIGURE_ARGS+= --without-history
+.endif
+
+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-install:
@${CAT} ${PKGMESSAGE}
diff --git a/deskutils/adesklets/distinfo b/deskutils/adesklets/distinfo
index 5517f3120673..2d251a4896b6 100644
--- a/deskutils/adesklets/distinfo
+++ b/deskutils/adesklets/distinfo
@@ -1,3 +1,3 @@
-MD5 (adesklets-0.5.0.tar.bz2) = a618289ea5c1512ec41085ac234341f3
-SHA256 (adesklets-0.5.0.tar.bz2) = fa28f0f0ecb2b4b44b5e81c6a2e7ecc8151a4ca928ff4e3361535e28e0265294
-SIZE (adesklets-0.5.0.tar.bz2) = 367220
+MD5 (adesklets-0.6.1.tar.bz2) = cd390c9398449c5566033e2e4792bccb
+SHA256 (adesklets-0.6.1.tar.bz2) = 9998e240715c34b5d4c8b31b5ed1fef38262a39fad08fa65be0b58a47eccc3c2
+SIZE (adesklets-0.6.1.tar.bz2) = 387553
diff --git a/deskutils/adesklets/pkg-plist b/deskutils/adesklets/pkg-plist
index 2eaca2a86d88..de1ac11a8f2c 100644
--- a/deskutils/adesklets/pkg-plist
+++ b/deskutils/adesklets/pkg-plist
@@ -7,6 +7,11 @@ bin/adesklets_submit
%%DATADIR%%/Vera.ttf
%%DATADIR%%/adesklets_debug.sh
%%DATADIR%%/adesklets_frontend.sh
+%%PERL%%%%SITE_PERL%%/adesklets.pm
+%%PERL%%%%SITE_PERL%%/updateproto.pl
+%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/adesklets/.packlist
+%%PERL%%lib/perl5/%%PERL_VER%%/mach/perllocal.pod
+%%PERL%%lib/perl5/%%PERL_VER%%/man/man3/adesklets.3
%%PYTHON_SITELIBDIR%%/posix_signal.so
%%PYTHON_SITELIBDIR%%/adesklets/__init__.py
%%PYTHON_SITELIBDIR%%/adesklets/__init__.pyc
@@ -36,5 +41,6 @@ bin/adesklets_submit
%%PYTHON_SITELIBDIR%%/adesklets/utils.pyc
%%PYTHON_SITELIBDIR%%/adesklets/which.py
%%PYTHON_SITELIBDIR%%/adesklets/which.pyc
+%%PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/adesklets
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/adesklets