mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
428fac4e1c
Add USES=xorg and USES=gl to ports in categories starting with 's' While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= DRAWxtl
|
|
DISTVERSION= 5.5
|
|
CATEGORIES= science
|
|
MASTER_SITES= https://www.lwfinger.com/drawxtl/
|
|
DISTNAME= ${PORTNAME}${DISTVERSION:S/.//}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Crystal structure visualization tool
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
|
|
|
|
USES= desktop-file-utils gl gmake localbase xorg
|
|
USE_GL= gl glu
|
|
USE_XORG= xinerama xft xext x11 xpm
|
|
|
|
BINARY_ALIAS= gcc=${CC} g++=${CXX}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/source/${DISTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.xpm
|
|
|
|
DESKTOP_ENTRIES="${PORTNAME}" \
|
|
"${COMMENT}" \
|
|
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
|
|
"${PORTNAME}" \
|
|
"Chemistry;Physics;Science;Education;Viewer;" \
|
|
""
|
|
POST_PLIST= complete-desktop-entries
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../../exe/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
complete-desktop-entries:
|
|
@${ECHO} "MimeType=chemical/x-cif;chemical/x-shelx;" >> ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}.desktop
|
|
|
|
.include <bsd.port.mk>
|