diff options
author | sergei <sergei@FreeBSD.org> | 2003-12-06 07:04:04 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-12-06 07:04:04 +0800 |
commit | c0d07f69f387739a16df4ffa97d46c23b6bd5d5d (patch) | |
tree | e424f3780301305f9b1185e75e5f70af0f1795c9 /russian/xruskb | |
parent | 5a7517395b3c1d156c9267b1b7bf373c337ee56e (diff) | |
download | freebsd-ports-gnome-c0d07f69f387739a16df4ffa97d46c23b6bd5d5d.tar.gz freebsd-ports-gnome-c0d07f69f387739a16df4ffa97d46c23b6bd5d5d.tar.zst freebsd-ports-gnome-c0d07f69f387739a16df4ffa97d46c23b6bd5d5d.zip |
- Add WITH_MOTIF knob to enable pixmaps in indicator icon
- Install documentation
- Silence configure warning
- Bump PORTREVISION
Diffstat (limited to 'russian/xruskb')
-rw-r--r-- | russian/xruskb/Makefile | 20 | ||||
-rw-r--r-- | russian/xruskb/pkg-plist | 12 |
2 files changed, 26 insertions, 6 deletions
diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile index 84763ae466b9..bd8168db3ff9 100644 --- a/russian/xruskb/Makefile +++ b/russian/xruskb/Makefile @@ -7,6 +7,7 @@ PORTNAME= xruskb PORTVERSION= 1.15.3 +PORTREVISION= 1 CATEGORIES= russian x11 MASTER_SITES= ftp://ftp.yars.free.net/pub/software/unix/X11/ @@ -17,15 +18,28 @@ USE_X_PREFIX= YES USE_BZIP2= YES GNU_CONFIGURE= YES CONFIGURE_ARGS= --datadir=${PREFIX}/share +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +.if defined(WITH_MOTIF) +CONFIGURE_ARGS+= --with-toolkit=motif +LIB_DEPENDS= Xm.3:${PORTSDIR}/x11-toolkits/open-motif +.else +CONFIGURE_ARGS+= --with-toolkit=none + +pre-configure: + @${ECHO_MSG} "*" + @${ECHO_MSG} "* Use WITH_MOTIF=yes to enable using pixmaps in indicator icon" + @${ECHO_MSG} "*" +.endif MAN1= xrus.1 +DOCS= FAQ NEWS README* TODO xrus.doc-* post-install: ${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${PREFIX}/lib/X11/app-defaults/Xrus .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/xruskb - ${INSTALL_DATA} ${WRKSRC}/xrus.doc-english ${PREFIX}/share/doc/xruskb - ${INSTALL_DATA} ${WRKSRC}/xrus.doc-koi8 ${PREFIX}/share/doc/xruskb + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/russian/xruskb/pkg-plist b/russian/xruskb/pkg-plist index 252d08e97548..297eda024701 100644 --- a/russian/xruskb/pkg-plist +++ b/russian/xruskb/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ bin/xrus bin/xrusmodmap lib/X11/app-defaults/Xrus @@ -39,7 +40,12 @@ share/xruskb/yawerty-deru-iso5.xmm share/xruskb/yawerty-deru-koi8.xmm share/xruskb/yawerty-iso5.xmm share/xruskb/yawerty-koi8.xmm -%%PORTDOCS%%share/doc/xruskb/xrus.doc-english -%%PORTDOCS%%share/doc/xruskb/xrus.doc-koi8 -%%PORTDOCS%%@dirrm share/doc/xruskb @dirrm share/xruskb +%%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.WindowMaker +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/xrus.doc-english +%%PORTDOCS%%%%DOCSDIR%%/xrus.doc-koi8 +%%PORTDOCS%%@dirrm %%DOCSDIR%% |