aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/bbsmount/Makefile18
-rw-r--r--sysutils/bbsmount/distinfo6
-rw-r--r--sysutils/bbsmount/pkg-plist12
3 files changed, 18 insertions, 18 deletions
diff --git a/sysutils/bbsmount/Makefile b/sysutils/bbsmount/Makefile
index f4e49e286578..ea98d24bbc2a 100644
--- a/sysutils/bbsmount/Makefile
+++ b/sysutils/bbsmount/Makefile
@@ -6,40 +6,44 @@
#
PORTNAME= bbsmount
-PORTVERSION= 0.3.0p3
+PORTVERSION= 0.3.1
CATEGORIES= sysutils
MASTER_SITES= http://phoenix.inf.upol.cz/~jezberam/bbsmount/files/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical disk mounter for the Blackbox slit
USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}
USE_XLIB= yes
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GCC= 2.95
PORTDOCS= README BUGS NEWS AUTHORS ChangeLog
+MAN1= bbsmount.1
+
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
post-patch:
+.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.endif
+ @${REINPLACE_CMD} -e 's|-O[012]||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|SUBDIRS = data|SUBDIRS =|' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation"
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL} ${PORTDOCS} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
+ @${MKDIR} ${PREFIX}/share/bbtools
+ @${MKDIR} ${EXAMPLESDIR}
if [ ! -e ${PREFIX}/share/bbtools/bbsmount.bb ]; then \
${CP} -p ${WRKSRC}/data/bbsmount.bb \
${PREFIX}/share/bbtools/bbsmount.bb; \
fi
- @${INSTALL} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample
+ @${INSTALL_DATA} ${WRKSRC}/data/bbsmount.bb ${PREFIX}/share/bbtools/bbsmount.bb-sample
+ @${INSTALL_DATA} ${WRKSRC}/data/bbsmount.bb.ex ${EXAMPLESDIR}/bbsmount.bb.ex
.include <bsd.port.post.mk>
diff --git a/sysutils/bbsmount/distinfo b/sysutils/bbsmount/distinfo
index 1f67a1285d76..8fc536592fea 100644
--- a/sysutils/bbsmount/distinfo
+++ b/sysutils/bbsmount/distinfo
@@ -1,3 +1,3 @@
-MD5 (bbsmount-0.3.0pre3.tar.gz) = 472cea75cb6a6baef281a27e5954dab9
-SHA256 (bbsmount-0.3.0pre3.tar.gz) = e10da1a5d6cd3e17f3807915c9acf9a828bd774b7e897f2902df43a7ceaa456c
-SIZE (bbsmount-0.3.0pre3.tar.gz) = 147635
+MD5 (bbsmount-0.3.1.tar.gz) = d1f2567d41e3f5c4640718d05736e66a
+SHA256 (bbsmount-0.3.1.tar.gz) = 04bf3a1cb39ac2a93c750c0346e7e9d047438965a57be7549d1145852a9fbf3e
+SIZE (bbsmount-0.3.1.tar.gz) = 171582
diff --git a/sysutils/bbsmount/pkg-plist b/sysutils/bbsmount/pkg-plist
index 359c45ac8959..b82086a07410 100644
--- a/sysutils/bbsmount/pkg-plist
+++ b/sysutils/bbsmount/pkg-plist
@@ -1,11 +1,5 @@
-bin/tkmsg
bin/bbsmount
-share/bbtools/bbsmount.bb
-share/bbtools/bbsmount.bb-sample
-share/bbtools/bbsmount.nobb
-share/bbtools/bbsmount.style
-share/bbtools/README.bbsmount
-%%DATADIR%%/examples/bbsmount.bb.ex
+%%EXAMPLESDIR%%/bbsmount.bb.ex
%%DATADIR%%/images/notfound.xpm
%%DATADIR%%/images/mountedcd.xpm
%%DATADIR%%/images/mounteddisk.xpm
@@ -15,7 +9,9 @@ share/bbtools/README.bbsmount
%%DATADIR%%/images/unmounteddisk.xpm
%%DATADIR%%/images/unmounted.xpm
%%DATADIR%%/images/unmountedzip.xpm
+@unexec f=%D/share/bbtools/bbsmount.bb; if cmp -s $f $f-sample; then rm -f $f; fi
+@unexec rm -f %D/share/bbtools/bbsmount.bb-sample
+@dirrm %%EXAMPLESDIR%%
@dirrmtry share/bbtools
-@dirrmtry %%DATADIR%%/examples
@dirrmtry %%DATADIR%%/images
@dirrmtry %%DATADIR%%