diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/hal/Makefile | 18 | ||||
-rw-r--r-- | sysutils/hal/distinfo | 6 | ||||
-rw-r--r-- | sysutils/hal/pkg-plist | 2 |
3 files changed, 20 insertions, 6 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index f778c22e63d5..f8f7f3141657 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -8,7 +8,7 @@ PORTNAME= hal PORTVERSION= ${HALVERSION}.${SNAPVERSION} -PORTREVISION?= 2 +PORTREVISION?= 0 CATEGORIES?= sysutils MASTER_SITES= http://www.marcuscom.com/downloads/ @@ -40,7 +40,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GTKDOC="false" HALVERSION= 0.5.8 -SNAPVERSION= 20061107 +SNAPVERSION= 20061117 .if !defined(HAL_SLAVE) USE_RC_SUBR= hald @@ -81,10 +81,19 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC} .include <bsd.port.pre.mk> -.if !defined(HAL_SLAVE) && (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64") +.if !defined(HAL_SLAVE) +.if (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64") RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode .endif +.if ${OSVERSION} <= 601100 +NEEDS_MEDIA= yes +PLIST_SUB+= MEDIA="" +.else +PLIST_SUB+= MEDIA="@comment " +.endif +.endif + post-patch: .if !defined(HAL_SLAVE) @${REINPLACE_CMD} -e 's|device-manager||' \ @@ -108,6 +117,9 @@ post-install: ${DATADIR}/dist @${SETENV} PKG_PREFIX=${PREFIX} PACKAGE_BUILDING=${PACKAGE_BUILDING} \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.if !defined(PACKAGE_BUILDING) && defined(NEEDS_MEDIA) + ${MKDIR} /media +.endif .if !defined(NOPORTDOCS) ${INSTALL_DATA} ${WRKSRC}/hald/freebsd/README \ ${DOCSDIR}/README.freebsd diff --git a/sysutils/hal/distinfo b/sysutils/hal/distinfo index 4a70096ecda8..94682b20c405 100644 --- a/sysutils/hal/distinfo +++ b/sysutils/hal/distinfo @@ -1,3 +1,3 @@ -MD5 (hal-0.5.8.20061107.tar.bz2) = 2f31ccda972fdba7165a8677eff123c8 -SHA256 (hal-0.5.8.20061107.tar.bz2) = cd94e11725d758826ab35d146f5ac3abc64de1d3bc7a6d98f172a06864bf9934 -SIZE (hal-0.5.8.20061107.tar.bz2) = 1371504 +MD5 (hal-0.5.8.20061117.tar.bz2) = 855723b866949a5165770f00337efde4 +SHA256 (hal-0.5.8.20061117.tar.bz2) = 1a6d91667949aeaf4bdfc66b1d8f1d742204345f62bc1332c76fd152b015267c +SIZE (hal-0.5.8.20061117.tar.bz2) = 1371738 diff --git a/sysutils/hal/pkg-plist b/sysutils/hal/pkg-plist index eb50faeed3e2..bbd060de1bf3 100644 --- a/sysutils/hal/pkg-plist +++ b/sysutils/hal/pkg-plist @@ -1,3 +1,4 @@ +%%MEDIA%%@exec mkdir -p /media bin/hal-device bin/hal-find-by-capability bin/hal-find-by-property @@ -156,3 +157,4 @@ share/locale/zh_TW/LC_MESSAGES/hal.mo @dirrmtry share/locale/el @dirrmtry share/locale/cs/LC_MESSAGES @dirrmtry share/locale/cs +%%MEDIA%%@unexec rmdir /media 2>/dev/null || true |